public class OXPathContextNodeConstructed extends OXPathContextNode
compareTo
works correctly
for the sorted node listDOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING
Constructor and Description |
---|
OXPathContextNodeConstructed(String iKey,
String iValue,
int iParent,
int iLast)
Constructer for wrapped node.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OXPathContextNode other)
compareTo is implemented so as to establish natural ordering compatible with equals. |
int |
compareTo(OXPathContextNodeConstructed other)
compareTo is implemented so as to establish natural ordering compatible with equals. |
boolean |
equals(Object obj) |
OXPathType |
getByXPath(String path)
Evaluates XPath expression.
|
DOMNode |
getNode()
Returns our implementation of the wrapped node.
|
int |
hashCode() |
contextualize, getByOXPath, getByOXPath, getByXPath, getByXPath, getByXPathBulk, getLast, getNotionalContext, getParent, isNotionalContext, toString
public OXPathType getByXPath(String path)
getByXPath
in class OXPathContextNode
path
- input XPath expressionpublic int compareTo(OXPathContextNode other)
compareTo
is implemented so as to establish natural ordering compatible with equals.compareTo
in interface Comparable<OXPathContextNode>
compareTo
in class OXPathContextNode
other
- the other node to comparecompareTo
contractpublic int compareTo(OXPathContextNodeConstructed other)
compareTo
is implemented so as to establish natural ordering compatible with equals.compareTo
in class OXPathContextNode
other
- the other node to comparecompareTo
contractpublic DOMNode getNode()
toPrettyHtml
is
implemented).getNode
in class OXPathContextNode
public int hashCode()
hashCode
in class OXPathContextNode
public boolean equals(Object obj)
equals
in class OXPathContextNode
Copyright © 2020 OXPath Team. All rights reserved.