| |
|
| org.apache.commons.betwixt.digester.RuleSupport org.apache.commons.betwixt.digester.AddDefaultsRule
AddDefaultsRule | public class AddDefaultsRule extends RuleSupport (Code) | | AddDefaultsRule appends all the default properties
to the current element.
author: James Strachan |
AddDefaultsRule | public AddDefaultsRule()(Code) | | Base constructor
|
addDescriptor | protected void addDescriptor(Descriptor nodeDescriptor) throws SAXException(Code) | | Add a desciptor to the top object on the Digester stack.
Parameters: nodeDescriptor - add this NodeDescriptor . Must not be null. throws: SAXException - if the parent for the addDefaults element is not a or if the top object on the stack is not a XMLBeanInfo or a ElementDescriptor since: 0.5 |
begin | public void begin(String name, String namespace, Attributes attributes) throws Exception(Code) | | Process the beginning of this element.
Parameters: attributes - The attribute list of this element throws: Exception - generally this will indicate an unrecoverable error |
getRootElementDescriptor | protected ElementDescriptor getRootElementDescriptor()(Code) | | Gets an ElementDescriptor for the top on digester's stack.
the top object or the element description if the top object is an ElementDescriptor or a XMLBeanInfo class (respectively)Otherwise null. |
|
|
|