public class Node extends Object
Modifier and Type | Method and Description |
---|---|
List<Node> |
getChildNodes()
Returns a list of child nodes or an empty list if none exist.
|
String |
getNodeName()
Returns the nodeName.
|
int |
getNodeType()
Returns the node type.
|
String |
getNodeValue()
Returns the node value.
|
String |
getPrefix()
Returns the node prefex.
|
Node |
nextNodeSibling()
Returns the next node that is sibling to this node (ie shares the same parent node), or returns null if none exists.
|
Node |
previousNodeSibling()
Returns the previous node that is sibling to this node (ie shares the same parent node), or returns null if none exists.
|
Element |
toElement()
Returns this node cast to an Element.
|
String |
toString()
Returns a String representation of this Node.
|
public int getNodeType()
public String getNodeName()
public String getNodeValue()
public String getPrefix()
public String toString()
public Node nextNodeSibling()
public Node previousNodeSibling()
public List<Node> getChildNodes()
public Element toElement() throws JauntiumException
JauntiumException