|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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.
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Constructor Summary | |
AddDefaultsRule()
Base constructor |
Method Summary | |
protected void |
addDescriptor(NodeDescriptor nodeDescriptor)
Add a desciptor to the top object on the Digester stack. |
void |
begin(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 |
body, 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(org.xml.sax.Attributes attributes) throws java.lang.Exception
begin
in class org.apache.commons.digester.Rule
attributes
- The attribute list of this elementjava.lang.Exception
- generally this will indicate an unrecoverable errorprotected void addDescriptor(NodeDescriptor 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |