public interface XPathExpression
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
evaluate(org.xml.sax.InputSource source)
Evaluates this expression against the specified context, returning the
result as a string.
|
java.lang.Object |
evaluate(org.xml.sax.InputSource source,
javax.xml.namespace.QName returnType)
Evaluates this expression against the specified context.
|
java.lang.String |
evaluate(java.lang.Object item)
Evaluates this expression against the specified context, returning the
result as a string.
|
java.lang.Object |
evaluate(java.lang.Object item,
javax.xml.namespace.QName returnType)
Evaluates this expression against the specified context.
|
java.lang.Object evaluate(java.lang.Object item, javax.xml.namespace.QName returnType) throws XPathExpressionException
item - the evaluation contextreturnType - the desired return typeXPathExpressionExceptionjava.lang.String evaluate(java.lang.Object item) throws XPathExpressionException
item - the evaluation contextXPathExpressionExceptionjava.lang.Object evaluate(org.xml.sax.InputSource source, javax.xml.namespace.QName returnType) throws XPathExpressionException
source - the source to load the context fromreturnType - the desired return typeXPathExpressionExceptionjava.lang.String evaluate(org.xml.sax.InputSource source) throws XPathExpressionException
source - the source to load the context fromXPathExpressionException