|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.digester.Rule
org.apache.commons.betwixt.digester.RuleSupport
org.apache.commons.betwixt.digester.AddDefaultsRule
AddDefaultsRule
appends all the default properties
to the current element.
Field Summary | |
private static org.apache.commons.logging.Log |
log
Logger |
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Constructor Summary | |
AddDefaultsRule()
Base constructor |
Method Summary | |
private void |
addAdders(boolean guessNames)
Adds default adder methods |
private void |
addDefaultProperties()
Adds default property methods |
protected void |
addDescriptor(Descriptor nodeDescriptor)
Add a desciptor to the top object on the Digester stack. |
protected void |
addDescriptor(NodeDescriptor nodeDescriptor)
Deprecated. 0.5 replaced addDescriptor( Descriptor ) |
void |
begin(java.lang.String name,
java.lang.String namespace,
org.xml.sax.Attributes attributes)
Process the beginning of this element. |
protected ElementDescriptor |
getRootElementDescriptor()
Gets an ElementDescriptor for the top on digester's stack. |
Methods inherited from class org.apache.commons.betwixt.digester.RuleSupport |
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector |
Methods inherited from class org.apache.commons.digester.Rule |
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
Constructor Detail |
public AddDefaultsRule()
Method Detail |
public void begin(java.lang.String name, java.lang.String namespace, org.xml.sax.Attributes attributes) throws java.lang.Exception
attributes
- The attribute list of this element
java.lang.Exception
- generally this will indicate an unrecoverable errorprivate void addAdders(boolean guessNames)
private void addDefaultProperties()
protected void addDescriptor(NodeDescriptor nodeDescriptor) throws org.xml.sax.SAXException
addDescriptor( Descriptor )
nodeDescriptor
- add this NodeDescriptor
. Must not be null.
org.xml.sax.SAXException
- if the parent for the addDefaults element is not a XMLBeanInfo
or a
ElementDescriptor
protected void addDescriptor(Descriptor nodeDescriptor) throws org.xml.sax.SAXException
nodeDescriptor
- add this NodeDescriptor
. Must not be null.
org.xml.sax.SAXException
- if the parent for the addDefaults element is not a XMLBeanInfo
or a
ElementDescriptor
protected ElementDescriptor getRootElementDescriptor()
ElementDescriptor
for the top on digester's stack.
ElementDescriptor
or a XMLBeanInfo
class (respectively)
Otherwise null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |