Searched refs:XPathEvaluationResult (Results 1 - 11 of 11) sorted by relevance
/openjdk9/jaxp/src/java.xml/share/classes/javax/xml/xpath/ |
H A D | XPathExpression.java | 230 * (T)evaluate(item, XPathEvaluationResult.XPathResultType.getQNameType(type)); 234 * {@link XPathEvaluationResult.XPathResultType#ANY ANY} type, specifying 235 * XPathEvaluationResult as the type will result in IllegalArgumentException. 237 * {@link XPathEvaluationResult.XPathResultType#ANY ANY} type must override 248 * corresponding to the types defined in the {@link XPathEvaluationResult.XPathResultType 249 * XPathResultType}, or XPathEvaluationResult is specified as the type but an 251 * {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available. 259 return type.cast(evaluate(item, XPathEvaluationResult.XPathResultType.getQNameType(type))); 265 * with type {@link XPathEvaluationResult}: 267 * evaluateExpression(item, XPathEvaluationResult [all...] |
H A D | XPath.java | 337 * XPathEvaluationResult.XPathResultType.getQNameType(type)); 341 * {@link XPathEvaluationResult.XPathResultType#ANY ANY} type, specifying 342 * XPathEvaluationResult as the type will result in IllegalArgumentException. 344 * {@link XPathEvaluationResult.XPathResultType#ANY ANY} type must override 356 * corresponding to the types defined in the {@link XPathEvaluationResult.XPathResultType}, 357 * or XPathEvaluationResult is specified as the type but an implementation supporting the 358 * {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available. 366 XPathEvaluationResult.XPathResultType.getQNameType(type))); 372 * with type {@link XPathEvaluationResult}: 374 * evaluateExpression(expression, item, XPathEvaluationResult [all...] |
H A D | XPathEvaluationResult.java | 31 * The {@code XPathEvaluationResult} interface represents the result of the 42 public interface XPathEvaluationResult<T> { interface 53 * Maps to {@link XPathEvaluationResult}. 55 ANY(new QName("http://www.w3.org/1999/XSL/Transform", "any"), XPathEvaluationResult.class),
|
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/xpath/ |
H A D | XPathAnyTypeTest.java | 29 import javax.xml.xpath.XPathEvaluationResult; 47 * evaluateExpression methods of XPath, as well as XPathNodes and XPathEvaluationResult. 162 XPathEvaluationResult<?> result = xpath.evaluateExpression("boolean(/Customers/Customer[@id=3])", doc); 171 XPathEvaluationResult<?> result = xpath.evaluateExpression("count(/Customers/Customer)", doc); 180 XPathEvaluationResult<?> result = xpath.evaluateExpression( 181 "string(/Customers/Customer[@id=3]/Phone/text())", doc, XPathEvaluationResult.class); 190 XPathEvaluationResult<?> result = xpath.evaluateExpression("/Customers/Customer", doc); 199 XPathEvaluationResult<?> result = xpath.evaluateExpression("/Customers/Customer[@id=3]", doc);
|
H A D | XPathExpAnyTypeTest.java | 32 import javax.xml.xpath.XPathEvaluationResult; 145 XPathEvaluationResult<?> result = exp.evaluateExpression(doc); 155 XPathEvaluationResult<?> result = exp.evaluateExpression(doc); 165 XPathEvaluationResult<?> result = exp.evaluateExpression(doc, XPathEvaluationResult.class); 175 XPathEvaluationResult<?> result = exp.evaluateExpression(doc); 185 XPathEvaluationResult<?> result = exp.evaluateExpression(doc);
|
H A D | XPathTestBase.java | 40 import javax.xml.xpath.XPathEvaluationResult; 90 void verifyResult(XPathEvaluationResult<?> result, Object expected) {
|
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/jaxp/ |
H A D | XPathExpressionImpl.java | 27 import javax.xml.xpath.XPathEvaluationResult; 140 if (type.isAssignableFrom(XPathEvaluationResult.class)) { 152 public XPathEvaluationResult<?> evaluateExpression(Object item) 154 return evaluateExpression(item, XPathEvaluationResult.class); 165 public XPathEvaluationResult<?> evaluateExpression(InputSource source) 167 return evaluateExpression(source, XPathEvaluationResult.class);
|
H A D | XPathResultImpl.java | 32 import javax.xml.xpath.XPathEvaluationResult; 33 import javax.xml.xpath.XPathEvaluationResult.XPathResultType; 40 * This is the implementation of XPathEvaluationResult that represents the 44 class XPathResultImpl<T> implements XPathEvaluationResult<T> { 60 * Construct an XPathEvaluationResult object. 145 if (type.isAssignableFrom(XPathEvaluationResult.class)) {
|
H A D | XPathImpl.java | 29 import javax.xml.xpath.XPathEvaluationResult; 211 if (type.isAssignableFrom(XPathEvaluationResult.class)) { 222 public XPathEvaluationResult<?> evaluateExpression(String expression, Object item) 224 return evaluateExpression(expression, item, XPathEvaluationResult.class); 235 public XPathEvaluationResult<?> evaluateExpression(String expression, InputSource source) 237 return evaluateExpression(expression, source, XPathEvaluationResult.class);
|
H A D | XPathNodesImpl.java | 31 import javax.xml.xpath.XPathEvaluationResult.XPathResultType;
|
H A D | XPathImplUtil.java | 40 import javax.xml.xpath.XPathEvaluationResult; 224 type.isAssignableFrom(XPathEvaluationResult.class)) {
|
Completed in 115 milliseconds