public class NodeLocation extends java.lang.Object implements java.lang.Comparable<NodeLocation>
Modifier and Type | Field and Description |
---|---|
protected SpanStartEnd |
locationPosition |
protected org.w3c.dom.Node |
node |
Constructor and Description |
---|
NodeLocation(SpanStartEnd locationPosition,
org.w3c.dom.Node node) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodeLocation other) |
SpanStartEnd |
getLocation() |
org.w3c.dom.Node |
getNode() |
java.lang.String |
toString() |
protected SpanStartEnd locationPosition
protected org.w3c.dom.Node node
public NodeLocation(SpanStartEnd locationPosition, org.w3c.dom.Node node)
public SpanStartEnd getLocation()
public int compareTo(NodeLocation other)
compareTo
in interface java.lang.Comparable<NodeLocation>
public java.lang.String toString()
toString
in class java.lang.Object
public org.w3c.dom.Node getNode()