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.String
currChildElementName
private java.lang.String
currChildNamespaceURI
-
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AnyChildRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin(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.void
body(java.lang.String value)
This method is called when the body of a matching XML element is encountered.void
end(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.Exception
Description copied from class:Rule
This method is called when the beginning of a matching XML element is encountered. The default implementation delegates to the deprecated methodbegin
without thenamespace
andname
parameters, to retain backwards compatibility.- Overrides:
begin
in 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.Exception
Description copied from class:Rule
This 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.Exception
Description copied from class:Rule
This method is called when the end of a matching XML element is encountered. The default implementation delegates to the deprecated methodend
without thenamespace
andname
parameters, to retain backwards compatibility.- Overrides:
end
in 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
-
-