Package | Description |
---|---|
org.springframework.xml.xpath |
Provides XPathTemplate implementations, and various classes for XPath evaluation using JAXP 1.3, and Jaxen.
|
Modifier and Type | Class and Description |
---|---|
class |
XPathParseException
Exception throws when a XPath expression cannot be parsed.
|
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
XPathExpression.evaluate(Node node,
NodeMapper<T> nodeMapper)
Evaluates the given expression, mapping each result
Node objects to a Java object via a NodeMapper . |
void |
XPathOperations.evaluate(String expression,
Source context,
NodeCallbackHandler callbackHandler)
Evaluates the given expression, handling the result
Node objects on a per-node basis with a NodeCallbackHandler . |
void |
AbstractXPathTemplate.evaluate(String expression,
Source context,
NodeCallbackHandler callbackHandler) |
<T> List<T> |
XPathOperations.evaluate(String expression,
Source context,
NodeMapper<T> nodeMapper)
Evaluates the given expression, mapping each result
Node objects to a Java object via a NodeMapper . |
<T> List<T> |
Jaxp13XPathTemplate.evaluate(String expression,
Source context,
NodeMapper<T> nodeMapper) |
<T> List<T> |
JaxenXPathTemplate.evaluate(String expression,
Source context,
NodeMapper<T> nodeMapper) |
boolean |
XPathExpression.evaluateAsBoolean(Node node)
Evaluates the given expression as a
boolean . |
boolean |
XPathOperations.evaluateAsBoolean(String expression,
Source context)
Evaluates the given expression as a
boolean . |
boolean |
Jaxp13XPathTemplate.evaluateAsBoolean(String expression,
Source context) |
boolean |
JaxenXPathTemplate.evaluateAsBoolean(String expression,
Source context) |
double |
XPathOperations.evaluateAsDouble(String expression,
Source context)
Evaluates the given expression as a
double . |
double |
Jaxp13XPathTemplate.evaluateAsDouble(String expression,
Source context) |
double |
JaxenXPathTemplate.evaluateAsDouble(String expression,
Source context) |
Node |
XPathExpression.evaluateAsNode(Node node)
Evaluates the given expression as a
Node . |
Node |
XPathOperations.evaluateAsNode(String expression,
Source context)
Evaluates the given expression as a
Node . |
Node |
Jaxp13XPathTemplate.evaluateAsNode(String expression,
Source context) |
Node |
JaxenXPathTemplate.evaluateAsNode(String expression,
Source context) |
List<Node> |
XPathExpression.evaluateAsNodeList(Node node)
Evaluates the given expression, and returns all
Node objects that conform to it. |
List<Node> |
XPathOperations.evaluateAsNodeList(String expression,
Source context)
Evaluates the given expression as a list of
Node objects. |
List<Node> |
Jaxp13XPathTemplate.evaluateAsNodeList(String expression,
Source context) |
List<Node> |
JaxenXPathTemplate.evaluateAsNodeList(String expression,
Source context) |
double |
XPathExpression.evaluateAsNumber(Node node)
Evaluates the given expression as a number (
double ). |
<T> T |
XPathExpression.evaluateAsObject(Node node,
NodeMapper<T> nodeMapper)
Evaluates the given expression, mapping a single
Node result to a Java object via a NodeMapper . |
<T> T |
XPathOperations.evaluateAsObject(String expression,
Source context,
NodeMapper<T> nodeMapper)
Evaluates the given expression, mapping a single
Node result to a Java object via a NodeMapper . |
<T> T |
Jaxp13XPathTemplate.evaluateAsObject(String expression,
Source context,
NodeMapper<T> nodeMapper) |
<T> T |
JaxenXPathTemplate.evaluateAsObject(String expression,
Source context,
NodeMapper<T> nodeMapper) |
String |
XPathExpression.evaluateAsString(Node node)
Evaluates the given expression as a String.
|
String |
XPathOperations.evaluateAsString(String expression,
Source context)
Evaluates the given expression as a
String . |
String |
Jaxp13XPathTemplate.evaluateAsString(String expression,
Source context) |
String |
JaxenXPathTemplate.evaluateAsString(String expression,
Source context) |
Copyright © 2020 Pivotal Software. All rights reserved.