Package | Description |
---|---|
uk.ac.ox.cs.diadem.webapi.dom.finder | |
uk.ac.ox.cs.diadem.webapi.utils |
Modifier and Type | Class and Description |
---|---|
class |
XPathNodePointerRankingOnSet |
Modifier and Type | Method and Description |
---|---|
static XPathNodePointerRanking |
DOMNodeFinderService.computeAllPointers(DOMNode target,
DOMNode rootNode,
String rootPath,
int maxSteps) |
static XPathNodePointerRanking |
DOMNodeFinderService.computeAllPointersExtended(DOMNode target,
DOMNode rootNode,
String rootPath,
int maxSteps) |
static XPathNodePointerRanking |
DOMNodeFinderService.computeRankingUsingTypesExtended(DOMNode target,
DOMNode rootNode,
String rootPath,
int maxSteps,
EnumSet<XPathNodePointer.Type> types,
Integer threshold) |
static XPathNodePointerRanking |
DOMNodeFinderService.computeRobustPointers(DOMNode target) |
XPathNodePointerRanking |
XPathNodePointerRanking.divideScores(int divisor)
Creates a new ranking with divided scores.
|
XPathNodePointerRanking |
XPathNodePointerRankingOnSet.divideScores(int divisor) |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByAnchor(DOMNode target)
Gets a
XPathNodePointerRanking (sorted set of XPathNodePointer ) for the target node, using anchor
nodes as main criteria for identification. |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByAnchor(DOMNode target,
Integer threshold)
Same as
DOMNodeFinderService.getXPathPointersByAnchor(DOMNode) but with a threshold that stops the process
as soon as the first expression above the threshold if found |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByAttribute(DOMNode target)
Gets a
XPathNodePointerRanking (sorted set of XPathNodePointer ) for the target node, using
attributes as main criteria for identification. |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByAttribute(DOMNode target,
Integer threshold)
Same as
DOMNodeFinderService.getXPathPointersByAttribute(DOMNode) but with a threshold that stops the
process as soon as the first expression above the threshold if found |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByPosition(DOMNode target)
Gets a
XPathNodePointerRanking (sorted set of XPathNodePointer ) for the target node, using position
(not canonical xpath) as main criteria for identification. |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByPosition(DOMNode target,
Integer threshold)
Same as
DOMNodeFinderService.getXPathPointersByAttribute(DOMNode) but with a threshold that stops the
process as soon as the first expression above the threshold if found |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByTextContent(DOMNode target)
Gets a
XPathNodePointerRanking (sorted set of XPathNodePointer ) for the target element, using its
text children nodes as main criteria for identification. |
static XPathNodePointerRanking |
DOMNodeFinderService.getXPathPointersByTextContent(DOMNode node,
Integer threshold)
As
DOMNodeFinderService#getXPathPointersByTextContent(DOMElement) but with a threshold for robusteness |
XPathNodePointerRanking |
XPathNodePointerRanking.intersectWith(XPathNodePointerRanking other)
Creates a new ranking as intersection of this and other.
|
XPathNodePointerRanking |
XPathNodePointerRankingOnSet.intersectWith(XPathNodePointerRanking other) |
static XPathNodePointerRanking |
FinderUtils.manageTextNodeIfAny(DOMNode node,
XPathNodePointerRanking candidateList) |
XPathNodePointerRanking |
XPathNodePointerRanking.normalize() |
XPathNodePointerRanking |
XPathNodePointerRankingOnSet.normalize() |
static XPathNodePointerRanking |
XPathNodePointerRankingOnSet.transform(XPathNodePointerRanking candidateList,
com.google.common.base.Function<? super XPathNodePointer,? extends XPathNodePointer> function) |
Modifier and Type | Method and Description |
---|---|
static boolean |
FinderUtils.checkThreshold(XPathNodePointerRanking candidateList,
Integer threshold) |
XPathNodePointerRanking |
XPathNodePointerRanking.intersectWith(XPathNodePointerRanking other)
Creates a new ranking as intersection of this and other.
|
XPathNodePointerRanking |
XPathNodePointerRankingOnSet.intersectWith(XPathNodePointerRanking other) |
static XPathNodePointerRanking |
FinderUtils.manageTextNodeIfAny(DOMNode node,
XPathNodePointerRanking candidateList) |
static XPathNodePointerRanking |
XPathNodePointerRankingOnSet.transform(XPathNodePointerRanking candidateList,
com.google.common.base.Function<? super XPathNodePointer,? extends XPathNodePointer> function) |
Modifier and Type | Method and Description |
---|---|
static XPathNodePointerRanking |
XPathUtil.uniqueMatchingPaths(DOMNode from,
DOMNode to,
XPathNodePointerRanking paths) |
Modifier and Type | Method and Description |
---|---|
static boolean |
XPathUtil.checkUniqueMatchingPaths(DOMNode from,
DOMNode to,
XPathNodePointerRanking paths) |
static XPathNodePointerRanking |
XPathUtil.uniqueMatchingPaths(DOMNode from,
DOMNode to,
XPathNodePointerRanking paths) |
Copyright © 2020 OXPath Team. All rights reserved.