Class SetNestedPropertiesRule


final class SetNestedPropertiesRule extends AbstractXmlRule
  • Constructor Details

    • SetNestedPropertiesRule

      public SetNestedPropertiesRule(RulesBinder targetRulesBinder, PatternStack patternStack)
  • Method Details

    • bindRule

      protected void bindRule(LinkedRuleBuilder linkedRuleBuilder, Attributes attributes) throws Exception
      Specified by:
      bindRule in class AbstractXmlRule
      Parameters:
      linkedRuleBuilder -
      attributes -
      Throws:
      Exception
    • end

      public void end(String namespace, String name) throws Exception
      This method is called when the end of a matching XML element is encountered.
      Overrides:
      end 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
      Throws:
      Exception - if any error occurs