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 Details

    • currChildNamespaceURI

      private String currChildNamespaceURI
    • currChildElementName

      private String currChildElementName
  • Constructor Details

    • AnyChildRule

      private AnyChildRule()
  • Method Details

    • begin

      public void begin(String namespaceURI, String name, Attributes attributes) throws 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 method begin without the namespace and name parameters, to retain backwards compatibility.
      Overrides:
      begin in class Rule
      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 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
    • body

      public void body(String value) throws 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.
      Overrides:
      body in class Rule
      Parameters:
      value - The text of the body of this element
      Throws:
      Exception
    • end

      public void end(String namespace, String name) throws 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 method end without the namespace and name parameters, to retain backwards compatibility.
      Overrides:
      end in class Rule
      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