Home
last modified time | relevance | path

Searched refs:xPathExpression (Results 1 – 4 of 4) 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/cldr/tools/java/org/unicode/cldr/util/
DXPathExpressionParser.java171 …public void iterateThroughNodeSet(String xPathExpression, NodeHandlingInterface handler) throws XP… in iterateThroughNodeSet() argument
172 iterate(xPathExpression, XPathConstants.NODESET, handler); in iterateThroughNodeSet()
DLDMLUtilities.java2181 XPathExpression xPathExpression = xPath.compile(xpath); in XPathAPI_selectNodeList() local
2182 return (NodeList) xPathExpression.evaluate(node, XPathConstants.NODESET); in XPathAPI_selectNodeList()
2194 XPathExpression xPathExpression = xPath.compile(xpath); in XPathAPI_selectNodeList() local
2195 return (NodeList) xPathExpression.evaluate(doc, XPathConstants.NODESET); in XPathAPI_selectNodeList()
2207 XPathExpression xPathExpression = xPath.compile(xpath); in XPathAPI_selectNodeList() local
2208 return (NodeList) xPathExpression.evaluate(context, XPathConstants.NODESET); in XPathAPI_selectNodeList()