public class XPathNodePointerImpl extends Object implements XPathNodePointer
XPathNodePointer.Type| Constructor and Description |
|---|
XPathNodePointerImpl(String xpath,
Integer score,
XPathNodePointer.Type type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(XPathNodePointer o) |
XPathNodePointer |
concatChild(XPathNodePointer other)
Creates a new XPathNodePointer by concatenating this and other via '/'.
|
XPathNodePointer |
concatDescendantOrSelf(XPathNodePointer other)
Creates a new XPathNodePointer by concatenating this and other via '//'.
|
boolean |
equals(Object obj) |
Integer |
getScore()
Return the robustness score associated to the expression
|
XPathNodePointer.Type |
getType()
Return the expression's
XPathNodePointer.Type, namely which method is used to compute the address |
String |
getXPath()
Returns the xpath expression associated to the node
|
int |
hashCode() |
String |
toString() |
public XPathNodePointerImpl(String xpath, Integer score, XPathNodePointer.Type type)
public String getXPath()
getXPath in interface XPathNodePointerpublic Integer getScore()
getScore in interface XPathNodePointerpublic XPathNodePointer.Type getType()
XPathNodePointer.Type, namely which method is used to compute the addressgetType in interface XPathNodePointerXPathNodePointer.Type, namely which method is used to compute the addresspublic int compareTo(XPathNodePointer o)
compareTo in interface Comparable<XPathNodePointer>public XPathNodePointer concatChild(XPathNodePointer other)
XPathNodePointerconcatChild in interface XPathNodePointerpublic XPathNodePointer concatDescendantOrSelf(XPathNodePointer other)
XPathNodePointerconcatDescendantOrSelf in interface XPathNodePointerCopyright © 2020 OXPath Team. All rights reserved.