Class AbstractXmlRule

Direct Known Subclasses:
AbstractXmlMethodRule, BeanPropertySetterRule, CallMethodRule, CallParamRule, FactoryCreateRule, NodeCreateRule, ObjectCreateRule, ObjectParamRule, SetNestedPropertiesRule, SetPropertiesRule, SetPropertyRule

abstract class AbstractXmlRule extends PatternRule
  • Field Details

    • targetRulesBinder

      private final RulesBinder targetRulesBinder
  • Constructor Details

  • Method Details

    • begin

      public void begin(String namespace, String name, Attributes attributes) throws Exception
      This method is called when the beginning of a matching XML element is encountered.
      Overrides:
      begin in class PatternRule
      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 namespace
      name - the local name if the parser is namespace aware, or just the element name otherwise
      attributes - 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