|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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.MappedPropertyRule | +--org.apache.commons.betwixt.digester.ElementRule
ElementRule
the digester Rule for parsing
the <element> elements.
Field Summary |
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Constructor Summary | |
ElementRule()
Base constructor |
Method Summary | |
void |
begin(org.xml.sax.Attributes attributes)
Process the beginning of this element. |
protected void |
configureDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor)
Sets the Expression and Updater from a bean property name Uses the default updater (from the standard java bean property). |
protected void |
configureDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor,
java.lang.String updateMethodName)
Sets the Expression and Updater from a bean property name Allows a custom updater to be passed in. |
void |
end()
Process the end of this element. |
static void |
setLog(org.apache.commons.logging.Log newLog)
Sets the log for this class |
Methods inherited from class org.apache.commons.betwixt.digester.MappedPropertyRule |
getPropertyDescriptor, getPropertyType |
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, 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 ElementRule()
Method Detail |
public static final void setLog(org.apache.commons.logging.Log newLog)
newLog
- the new Log implementation for this class to usepublic void begin(org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
begin
in class org.apache.commons.digester.Rule
attributes
- The attribute list of this element
org.xml.sax.SAXException
- 1. If this tag's parent is not either an info or element tag.
2. If the name attribute is not valid XML element name.
3. If the name attribute is not present
4. If the class attribute is not a loadable (fully qualified) class namepublic void end()
end
in class org.apache.commons.digester.Rule
protected void configureDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor)
elementDescriptor
- configure this ElementDescriptor
since 0.5protected void configureDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor, java.lang.String updateMethodName)
elementDescriptor
- configure this ElementDescriptor
updateMethodName
- custom update method. If null, then use standard
since 0.5
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |