|
|||||||||||
| 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 |
| Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
| Constructor Summary | |
AddDefaultsRule()
Base constructor |
|
| Method Summary | |
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 |
| 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 error
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
ElementDescriptorprotected 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 | ||||||||||