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 XPathNodePointer
public Integer getScore()
getScore
in interface XPathNodePointer
public XPathNodePointer.Type getType()
XPathNodePointer.Type
, namely which method is used to compute the addressgetType
in interface XPathNodePointer
XPathNodePointer.Type
, namely which method is used to compute the addresspublic int compareTo(XPathNodePointer o)
compareTo
in interface Comparable<XPathNodePointer>
public XPathNodePointer concatChild(XPathNodePointer other)
XPathNodePointer
concatChild
in interface XPathNodePointer
public XPathNodePointer concatDescendantOrSelf(XPathNodePointer other)
XPathNodePointer
concatDescendantOrSelf
in interface XPathNodePointer
Copyright © 2020 OXPath Team. All rights reserved.