public class AttributeRule extends RuleSupport
AttributeRule
the digester Rule for parsing the
<attribute> elements.
Constructor and Description |
---|
AttributeRule()
Base constructor
|
Modifier and Type | Method and Description |
---|---|
void |
begin(String name,
String namespace,
org.xml.sax.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(String name,
String namespace)
Process the end of this element.
|
protected Class |
loadClass(String name)
Loads a class (using the appropriate classloader)
|
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector
public void begin(String name, String namespace, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
begin
in class org.apache.commons.digester.Rule
attributes
- The attribute list of this elementorg.xml.sax.SAXException
- 1. If the attribute tag is not inside an element tag.
2. If the name attribute is not valid XML attribute name.public void end(String name, String namespace)
end
in class org.apache.commons.digester.Rule
protected Class loadClass(String name)
loadClass
in class RuleSupport
name
- the name of the class to loadprotected void configureDescriptor(AttributeDescriptor attributeDescriptor)
attributeDescriptor
- configure this AttributeDescriptor
from the property with a matching name in the bean classCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.