com.unitesk.requality.merge
Class Node

java.lang.Object
  extended by com.unitesk.requality.merge.Node

public class Node
extends java.lang.Object


Constructor Summary
Node(org.w3c.dom.Node domNode)
           
Node(Node parentNode, org.w3c.dom.Node domNode)
           
 
Method Summary
 boolean equals(Node x)
           
 java.util.List<Node> getChilds()
           
 Context getContext()
           
 java.util.List<Node> getDescendants()
           
 org.w3c.dom.Node getDomNode()
           
 Node getNextSibling()
           
 Node getParent()
           
 Node getPreviousSibling()
           
 java.lang.String getText()
           
 boolean isEqual(Node node)
           
 boolean isLeaf()
           
 boolean isParent(Node x)
           
 boolean isRelated(Node x)
           
 boolean isRoot()
           
 boolean isSame(Node other)
           
 boolean isSibling(Node x)
           
 boolean isText()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(org.w3c.dom.Node domNode)

Node

public Node(Node parentNode,
            org.w3c.dom.Node domNode)
Method Detail

getDomNode

public org.w3c.dom.Node getDomNode()

isLeaf

public boolean isLeaf()

getChilds

public java.util.List<Node> getChilds()

isRoot

public boolean isRoot()

isEqual

public boolean isEqual(Node node)

getContext

public Context getContext()

getParent

public Node getParent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isRelated

public boolean isRelated(Node x)

isParent

public boolean isParent(Node x)

isSibling

public boolean isSibling(Node x)

equals

public boolean equals(Node x)

isText

public boolean isText()

getText

public java.lang.String getText()

isSame

public boolean isSame(Node other)

getPreviousSibling

public Node getPreviousSibling()

getNextSibling

public Node getNextSibling()

getDescendants

public java.util.List<Node> getDescendants()