Uses of Class
org.springframework.xml.xpath.XPathException
Package
Description
Provides XPathTemplate implementations, and various classes for XPath evaluation using JAXP 1.3, and Jaxen.
-
Uses of XPathException in org.springframework.xml.xpath
Modifier and TypeClassDescriptionclass
Exception throws when a XPath expression cannot be parsed.Modifier and TypeMethodDescriptionfinal void
AbstractXPathTemplate.evaluate
(String expression, Source context, NodeCallbackHandler callbackHandler) <T> List<T>
JaxenXPathTemplate.evaluate
(String expression, Source context, NodeMapper<T> nodeMapper) <T> List<T>
Jaxp13XPathTemplate.evaluate
(String expression, Source context, NodeMapper<T> nodeMapper) <T> List<T>
XPathExpression.evaluate
(Node node, NodeMapper<T> nodeMapper) Evaluates the given expression, mapping each resultNode
objects to a Java object via aNodeMapper
.void
XPathOperations.evaluate
(String expression, Source context, NodeCallbackHandler callbackHandler) Evaluates the given expression, handling the resultNode
objects on a per-node basis with aNodeCallbackHandler
.<T> List<T>
XPathOperations.evaluate
(String expression, Source context, NodeMapper<T> nodeMapper) Evaluates the given expression, mapping each resultNode
objects to a Java object via aNodeMapper
.boolean
JaxenXPathTemplate.evaluateAsBoolean
(String expression, Source context) boolean
Jaxp13XPathTemplate.evaluateAsBoolean
(String expression, Source context) boolean
XPathExpression.evaluateAsBoolean
(Node node) Evaluates the given expression as aboolean
.boolean
XPathOperations.evaluateAsBoolean
(String expression, Source context) Evaluates the given expression as aboolean
.double
JaxenXPathTemplate.evaluateAsDouble
(String expression, Source context) double
Jaxp13XPathTemplate.evaluateAsDouble
(String expression, Source context) double
XPathOperations.evaluateAsDouble
(String expression, Source context) Evaluates the given expression as adouble
.JaxenXPathTemplate.evaluateAsNode
(String expression, Source context) Jaxp13XPathTemplate.evaluateAsNode
(String expression, Source context) XPathExpression.evaluateAsNode
(Node node) Evaluates the given expression as aNode
.XPathOperations.evaluateAsNode
(String expression, Source context) Evaluates the given expression as aNode
.JaxenXPathTemplate.evaluateAsNodeList
(String expression, Source context) Jaxp13XPathTemplate.evaluateAsNodeList
(String expression, Source context) XPathExpression.evaluateAsNodeList
(Node node) Evaluates the given expression, and returns allNode
objects that conform to it.XPathOperations.evaluateAsNodeList
(String expression, Source context) Evaluates the given expression as a list ofNode
objects.double
XPathExpression.evaluateAsNumber
(Node node) Evaluates the given expression as a number (double
).<T> T
JaxenXPathTemplate.evaluateAsObject
(String expression, Source context, NodeMapper<T> nodeMapper) <T> T
Jaxp13XPathTemplate.evaluateAsObject
(String expression, Source context, NodeMapper<T> nodeMapper) <T> T
XPathExpression.evaluateAsObject
(Node node, NodeMapper<T> nodeMapper) Evaluates the given expression, mapping a singleNode
result to a Java object via aNodeMapper
.<T> T
XPathOperations.evaluateAsObject
(String expression, Source context, NodeMapper<T> nodeMapper) Evaluates the given expression, mapping a singleNode
result to a Java object via aNodeMapper
.JaxenXPathTemplate.evaluateAsString
(String expression, Source context) Jaxp13XPathTemplate.evaluateAsString
(String expression, Source context) XPathExpression.evaluateAsString
(Node node) Evaluates the given expression as a String.XPathOperations.evaluateAsString
(String expression, Source context) Evaluates the given expression as aString
.