Class AbstractXmlRule
java.lang.Object
org.apache.commons.digester3.Rule
org.apache.commons.digester3.xmlrules.PatternRule
org.apache.commons.digester3.xmlrules.AbstractXmlRule
- Direct Known Subclasses:
AbstractXmlMethodRule, BeanPropertySetterRule, CallMethodRule, CallParamRule, FactoryCreateRule, NodeCreateRule, ObjectCreateRule, ObjectParamRule, SetNestedPropertiesRule, SetPropertiesRule, SetPropertyRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin(String namespace, String name, Attributes attributes) This method is called when the beginning of a matching XML element is encountered.protected abstract voidbindRule(LinkedRuleBuilder linkedRuleBuilder, Attributes attributes) Methods inherited from class PatternRule
end, getMatchingPatternMethods inherited from class Rule
body, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
-
Field Details
-
targetRulesBinder
-
-
Constructor Details
-
AbstractXmlRule
-
-
Method Details
-
begin
This method is called when the beginning of a matching XML element is encountered.- Overrides:
beginin classPatternRule- 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 otherwiseattributes- The attribute list of this element- Throws:
Exception- if any error occurs
-
bindRule
protected abstract void bindRule(LinkedRuleBuilder linkedRuleBuilder, Attributes attributes) throws Exception - Parameters:
linkedRuleBuilder-attributes-- Throws:
Exception
-