Package org.apache.commons.digester
Class SetNestedPropertiesRule.AnyChildRule
- java.lang.Object
-
- org.apache.commons.digester.Rule
-
- org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRule
-
- Enclosing class:
- SetNestedPropertiesRule
private class SetNestedPropertiesRule.AnyChildRule extends Rule
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcurrChildElementNameprivate java.lang.StringcurrChildNamespaceURI-
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAnyChildRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin(java.lang.String namespaceURI, java.lang.String name, org.xml.sax.Attributes attributes)This method is called when the beginning of a matching XML element is encountered.voidbody(java.lang.String value)This method is called when the body of a matching XML element is encountered.voidend(java.lang.String namespace, java.lang.String name)This method is called when the end of a matching XML element is encountered.-
Methods inherited from class org.apache.commons.digester.Rule
begin, body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
-
-
-
-
Method Detail
-
begin
public void begin(java.lang.String namespaceURI, java.lang.String name, org.xml.sax.Attributes attributes) throws java.lang.ExceptionDescription copied from class:RuleThis method is called when the beginning of a matching XML element is encountered. The default implementation delegates to the deprecated methodbeginwithout thenamespaceandnameparameters, to retain backwards compatibility.- Overrides:
beginin classRule- Parameters:
namespaceURI- the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespacename- the local name if the parser is namespace aware, or just the element name otherwiseattributes- The attribute list of this element- Throws:
java.lang.Exception
-
body
public void body(java.lang.String value) throws java.lang.ExceptionDescription copied from class:RuleThis method is called when the body of a matching XML element is encountered. If the element has no body, this method is called with an empty string as the body text.
-
end
public void end(java.lang.String namespace, java.lang.String name) throws java.lang.ExceptionDescription copied from class:RuleThis method is called when the end of a matching XML element is encountered. The default implementation delegates to the deprecated methodendwithout thenamespaceandnameparameters, to retain backwards compatibility.- Overrides:
endin classRule- Parameters:
namespace- the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespacename- the local name if the parser is namespace aware, or just the element name otherwise- Throws:
java.lang.Exception
-
-