Class SetNestedPropertiesRule.AnyChildRule
java.lang.Object
org.apache.commons.digester3.Rule
org.apache.commons.digester3.SetNestedPropertiesRule.AnyChildRule
- Enclosing class:
SetNestedPropertiesRule
- Since:
- 1.6
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin(String namespaceURI, String name, Attributes attributes) This method is called when the beginning of a matching XML element is encountered.voidThis method is called when the body of a matching XML element is encountered.voidThis method is called when the end of a matching XML element is encountered.Methods inherited from class Rule
finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
-
Field Details
-
currChildElementName
-
-
Constructor Details
-
AnyChildRule
private AnyChildRule()
-
-
Method Details
-
begin
Description copied from class:RuleThis method is called when the beginning of a matching XML element is encountered.- 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:
Exception- if any error occurs
-
body
Description 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.- Overrides:
bodyin 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 otherwisetext- The text of the body of this element- Throws:
Exception- if any error occurs
-
end
Description copied from class:RuleThis method is called when the end of a matching XML element is encountered.- 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:
Exception- if any error occurs
-