Home
last modified time | relevance | path

Searched refs:xPathExpression (Results 1 – 3 of 3) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/xml/
DHasXPath.java38 public HasXPath(String xPathExpression, Matcher<String> valueMatcher) { in HasXPath() argument
39 this(xPathExpression, NO_NAMESPACE_CONTEXT, valueMatcher); in HasXPath()
48 …public HasXPath(String xPathExpression, NamespaceContext namespaceContext, Matcher<String> valueMa… in HasXPath() argument
49 this(xPathExpression, namespaceContext, valueMatcher, STRING); in HasXPath()
52 …private HasXPath(String xPathExpression, NamespaceContext namespaceContext, Matcher<String> valueM… in HasXPath() argument
53 this.compiledXPath = compiledXPath(xPathExpression, namespaceContext); in HasXPath()
54 this.xpathString = xPathExpression; in HasXPath()
96 …private static XPathExpression compiledXPath(String xPathExpression, NamespaceContext namespaceCon…
102 return xPath.compile(xPathExpression);
104 throw new IllegalArgumentException("Invalid XPath : " + xPathExpression, e);
/external/objenesis/tck/src/test/java/org/objenesis/tck/
DOsgiTest.java80 XPathExpression xPathExpression; in getImplementationVersion() local
82 xPathExpression = xPath.compile("/project/parent/version"); in getImplementationVersion()
92 version = xPathExpression.evaluate(doc); in getImplementationVersion()
/external/droiddriver/src/io/appium/droiddriver/finders/
DByXPath.java71 private final XPathExpression xPathExpression; field in ByXPath
76 xPathExpression = XPATH_COMPILER.compile(xPathString); in ByXPath()
92 Element foundNode = (Element) xPathExpression.evaluate(domNode, XPathConstants.NODE); in find()