| Modifier and Type | Field and Description |
|---|---|
| private XPath |
| Access | Constructor and Description |
|---|---|
| protected | XPathExpressionImpl()
Protected constructor to prevent direct instantiation; use compile() from the context. |
| protected | XPathExpressionImpl(XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver)
|
| protected | XPathExpressionImpl(XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager, XMLSecurityManager xmlSecMgr, XMLSecurityPropertyManager xmlSecPropMgr)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | evaluate(Object item, QName returnType)
Implements javax. Evaluate the compiled XPath expression in the specified context and return the result as the specified type. |
| public String | evaluate(Object item)
Implements javax. Evaluate the compiled XPath expression in the specified context and return the result as a |
| public Object | evaluate(InputSource source, QName returnType)
Implements javax. Evaluate the compiled XPath expression in the context
of the specified |
| public String | evaluate(InputSource source)
Implements javax. Evaluate the compiled XPath expression in the context
of the specified |
| public <T> T | evaluateExpression(Object item, Class<T> type)
Overrides default javax. Evaluate the compiled XPath expression in the specified context, and return
the result with the type specified through the |
| public XPathEvaluationResult | evaluateExpression(Object item)
Overrides default javax. Evaluate the compiled XPath expression in the specified context. |
| public <T> T | evaluateExpression(InputSource source, Class<T> type)
Overrides default javax. Evaluate the compiled XPath expression in the specified context,
and return the result with the type specified through the
This method builds a data model for the |
| public XPathEvaluationResult | evaluateExpression(InputSource source)
Overrides default javax. Evaluate the compiled XPath expression in the specified context. |
| public void |
| xpath | back to summary |
|---|---|
| private XPath xpath | |
| XPathExpressionImpl | back to summary |
|---|---|
| protected XPathExpressionImpl() Protected constructor to prevent direct instantiation; use compile() from the context. | |
| XPathExpressionImpl | back to summary |
|---|---|
| protected XPathExpressionImpl(XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver) | |
| XPathExpressionImpl | back to summary |
|---|---|
| protected XPathExpressionImpl(XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager, XMLSecurityManager xmlSecMgr, XMLSecurityPropertyManager xmlSecPropMgr) | |
| eval | back to summary |
|---|---|
| public Object eval(Object item, QName returnType) throws TransformerException | |
| evaluate | back to summary |
|---|---|
| public Object evaluate(Object item, QName returnType) throws XPathExpressionException Implements javax. Doc from javax. Evaluate the compiled XPath expression in the specified context and return the result as the specified type. See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion.
The parameter
| |
| evaluate | back to summary |
|---|---|
| public String evaluate(Object item) throws XPathExpressionException Implements javax. Doc from javax. Evaluate the compiled XPath expression in the specified context and return the result as a This method calls See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion.
The parameter
| |
| evaluate | back to summary |
|---|---|
| public Object evaluate(InputSource source, QName returnType) throws XPathExpressionException Implements javax. Doc from javax. Evaluate the compiled XPath expression in the context
of the specified This method builds a data model for the See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion. If If
| |
| evaluate | back to summary |
|---|---|
| public String evaluate(InputSource source) throws XPathExpressionException Implements javax. Doc from javax. Evaluate the compiled XPath expression in the context
of the specified This method calls See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion. If
| |
| evaluateExpression | back to summary |
|---|---|
| public <T> T evaluateExpression(Object item, Class<T> type) throws XPathExpressionException Overrides default javax. Doc from javax. Evaluate the compiled XPath expression in the specified context, and return
the result with the type specified through the
The parameter
| |
| evaluateExpression | back to summary |
|---|---|
| public XPathEvaluationResult Overrides default javax. Doc from javax. Evaluate the compiled XPath expression in the specified context. This is
equivalent to calling
The parameter
| |
| evaluateExpression | back to summary |
|---|---|
| public <T> T evaluateExpression(InputSource source, Class<T> type) throws XPathExpressionException Overrides default javax. Doc from javax. Evaluate the compiled XPath expression in the specified context,
and return the result with the type specified through the
This method builds a data model for the
By default, the JDK's data model is
| |
| evaluateExpression | back to summary |
|---|---|
| public XPathEvaluationResult Overrides default javax. Doc from javax. Evaluate the compiled XPath expression in the specified context. This is
equivalent to calling
| |
| setXPath | back to summary |
|---|---|
| public void setXPath(XPath xpath) | |