Class SetNestedPropertiesRule.AnyChildRule

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AnyChildRule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void begin​(java.lang.String namespaceURI, java.lang.String name, org.xml.sax.Attributes attributes)
      This method is called when the beginning of a matching XML element is encountered.
      void body​(java.lang.String value)
      This method is called when the body of a matching XML element is encountered.
      void end​(java.lang.String namespace, java.lang.String name)
      This method is called when the end of a matching XML element is encountered.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • currChildNamespaceURI

        private java.lang.String currChildNamespaceURI
      • currChildElementName

        private java.lang.String currChildElementName
    • Constructor Detail

      • AnyChildRule

        private AnyChildRule()
    • Method Detail

      • begin

        public void begin​(java.lang.String namespaceURI,
                          java.lang.String name,
                          org.xml.sax.Attributes attributes)
                   throws java.lang.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:
        java.lang.Exception
      • body

        public void body​(java.lang.String value)
                  throws java.lang.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:
        java.lang.Exception
      • end

        public void end​(java.lang.String namespace,
                        java.lang.String name)
                 throws java.lang.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:
        java.lang.Exception