public class AddDefaultsRule extends RuleSupport
AddDefaultsRule appends all the default properties
to the current element.
| Constructor and Description |
|---|
AddDefaultsRule()
Base constructor
|
| Modifier and Type | Method and Description |
|---|---|
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(String name,
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. |
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector, loadClasspublic void begin(String name, String namespace, org.xml.sax.Attributes attributes) throws Exception
begin in class org.apache.commons.digester.Ruleattributes - The attribute list of this elementException - generally this will indicate an unrecoverable errorprotected 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
ElementDescriptorprotected 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.Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.