public class FinderUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkThreshold(XPathNodePointerRanking candidateList,
Integer threshold) |
static String |
elementName(DOMNode node) |
static int |
getSameNameSiblingPosition(DOMNode node)
Gets the position of a DOM node among its siblings with the same name.
|
static void |
main(String[] args) |
static XPathNodePointer |
manageTextNodeIfAny(DOMNode node,
XPathNodePointer candidate) |
static XPathNodePointerRanking |
manageTextNodeIfAny(DOMNode node,
XPathNodePointerRanking candidateList) |
public static int getSameNameSiblingPosition(DOMNode node)
node
- the DOM nodepublic static XPathNodePointerRanking manageTextNodeIfAny(DOMNode node, XPathNodePointerRanking candidateList)
public static XPathNodePointer manageTextNodeIfAny(DOMNode node, XPathNodePointer candidate)
public static void main(String[] args)
public static boolean checkThreshold(XPathNodePointerRanking candidateList, Integer threshold)
Copyright © 2020 OXPath Team. All rights reserved.