public interface XPathNodePointer extends Comparable<XPathNodePointer>
DOMNode
via xpath. the expression is associated to a score that measures the robustness of the
expression, as defined by our framework.Modifier and Type | Interface and Description |
---|---|
static class |
XPathNodePointer.Type |
Modifier and Type | Method and Description |
---|---|
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 '//'.
|
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
|
compareTo
String getXPath()
Integer getScore()
XPathNodePointer.Type getType()
XPathNodePointer.Type
, namely which method is used to compute the addressXPathNodePointer.Type
, namely which method is used to compute the addressXPathNodePointer concatChild(XPathNodePointer other)
other
- XPathNodePointer concatDescendantOrSelf(XPathNodePointer other)
other
- Copyright © 2020 OXPath Team. All rights reserved.