Interface NodeDef

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void display​(java.io.PrintWriter out, int indent)
      Outputs this node to any PrintWriter, in a formatted fashion with automatic indenting.
      void displayXML​(XMLOutput out, int indent)
      Outputs this element definition in XML to any XMLOutput.
      NodeDef[] getChildren()
      Returns the children of this node.
      Location getLocation()
      Returns the location of this element in its document.
      java.lang.String getName()
      Returns the name of this node's tag.
      java.lang.String getText()
      Returns the text inside this node.
      int getType()
      Returns the type of this element.
      DOMWrapper getWrapper()
      Retrieves the DOMWrapper which was used to create this node.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of this node's tag.
      • getText

        java.lang.String getText()
        Returns the text inside this node.
      • getChildren

        NodeDef[] getChildren()
        Returns the children of this node.
      • displayXML

        void displayXML​(XMLOutput out,
                        int indent)
        Outputs this element definition in XML to any XMLOutput.
        Parameters:
        out - the XMLOutput class to display the XML
      • display

        void display​(java.io.PrintWriter out,
                     int indent)
        Outputs this node to any PrintWriter, in a formatted fashion with automatic indenting.
        Parameters:
        out - the PrintWriter to which to write this NodeDef.
        indent - the indentation level for the printout.
      • getLocation

        Location getLocation()
        Returns the location of this element in its document.
        Returns:
        location of this element, or null if location is not available