Class Node

    • Method Detail

      • getDocument

        public Document getDocument()

        Gets the document of the node.

        Value: The document.
      • isComposite

        public boolean isComposite()

        Gets a value indicating whether this node is composite. If true the node can have child nodes.

      • getNodeType

        public int getNodeType()

        Gets the node type.

      • getParentNode

        public ICompositeNode getParentNode()

        Gets the parent node.

      • getPreviousSibling

        public INode getPreviousSibling()

        Gets the previous node at the same node tree level.

        Value: The previous sibling.
        Specified by:
        getPreviousSibling in interface INode
      • getNextSibling

        public INode getNextSibling()

        Gets the next node at the same node tree level.

        Value: The next sibling.
        Specified by:
        getNextSibling in interface INode
      • accept

        public abstract void accept(DocumentVisitor visitor)

        Accepts the visitor of the node.

        Specified by:
        accept in interface INode
        visitor - The object of a class derived from the DocumentVisitor.