public class SelectedNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
_depth |
protected int |
_level |
protected org.w3c.dom.Node |
_node |
Constructor and Description |
---|
SelectedNode(org.w3c.dom.Node node)
Creates new selected node, calculating the index.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SelectedNode b)
Returns the node's index
|
org.w3c.dom.Node |
getNode()
Returns the underlying DOM node.
|
protected org.w3c.dom.Node _node
protected int _depth
protected int _level
public SelectedNode(org.w3c.dom.Node node)
node
- the underlying DOM node.public org.w3c.dom.Node getNode()
public int compareTo(SelectedNode b)