|
|||||||||||
| 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.AttributeRule
AttributeRule the digester Rule for parsing the
<attribute> elements.
| Field Summary | |
private Class |
beanClass
The Class whose .betwixt file is being digested |
private ClassLoader |
classLoader
This loads all classes created by name. |
private static Log |
log
Logger |
| Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
| Constructor Summary | |
AttributeRule()
Base constructor |
|
| Method Summary | |
void |
begin(Attributes attributes)
Process the beginning of this element. |
protected void |
configureDescriptor(AttributeDescriptor attributeDescriptor)
Set the Expression and Updater from a bean property name |
void |
end()
Process the end of this element. |
protected Class |
loadClass(String name)
Loads a class (using the appropriate classloader) |
| 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 |
| Field Detail |
private static final Log log
private ClassLoader classLoader
private Class beanClass
Class whose .betwixt file is being digested
| Constructor Detail |
public AttributeRule()
| Method Detail |
public void begin(Attributes attributes)
throws SAXException
attributes - The attribute list of this element
SAXException - if the attribute tag is not inside an element tagpublic void end()
protected Class loadClass(String name)
name - the name of the class to load
protected void configureDescriptor(AttributeDescriptor attributeDescriptor)
attributeDescriptor - configure this AttributeDescriptor
from the property with a matching name in the bean class
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||