|
|||||||||||
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 Log |
log
Logger |
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(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 Log log
Constructor Detail |
public AddDefaultsRule()
Method Detail |
public void begin(Attributes attributes) throws Exception
attributes
- The attribute list of this element
Exception
- generally this will indicate an unrecoverable errorprotected void addDescriptor(NodeDescriptor nodeDescriptor) throws SAXException
nodeDescriptor
- add this NodeDescriptor
. Must not be null.
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 |