| Modifier and Type | Field and Description |
|---|---|
| private NamespaceContext | |
| private XPathFunctionResolver | |
| private XPathVariableResolver |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | XPathImpl(XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, JdkXmlFeatures featureManager, XMLSecurityManager xmlSecMgr, XMLSecurityPropertyManager xmlSecPropMgr)
|
| Modifier and Type | Method and Description |
|---|---|
| public XPathExpression | compile(String expression)
Implements javax. Compile an XPath expression for later evaluation. |
| private XObject | |
| public Object | evaluate(String expression, Object item, QName returnType)
Implements javax. Evaluate an |
| public String | evaluate(String expression, Object item)
Implements javax. Evaluate an XPath expression in the specified context and return the result as a |
| public Object | evaluate(String expression, InputSource source, QName returnType)
Implements javax. Evaluate an XPath expression in the context of the specified |
| public String | evaluate(String expression, InputSource source)
Implements javax. Evaluate an XPath expression in the context of the specified |
| public <T> T | evaluateExpression(String expression, Object item, Class<T> type)
Overrides default javax. Evaluate an XPath expression in the specified context and return
the result with the type specified through the
The parameter |
| public XPathEvaluationResult | evaluateExpression(String expression, Object item)
Overrides default javax. Evaluate an XPath expression in the specified context. |
| public <T> T | evaluateExpression(String expression, InputSource source, Class<T> type)
Overrides default javax. Evaluate an XPath expression in the context of the specified |
| public XPathEvaluationResult | evaluateExpression(String expression, InputSource source)
Overrides default javax. Evaluate an XPath expression in the specified context. |
| public NamespaceContext | getNamespaceContext()
Implements javax. Return the current namespace context. |
| public XPathFunctionResolver | getXPathFunctionResolver()
Implements javax. Return the current function resolver. |
| public XPathVariableResolver | getXPathVariableResolver()
Implements javax. Return the current variable resolver. |
| public void | |
| public void | setNamespaceContext(NamespaceContext nsContext)
Implements javax. Establish a namespace context. |
| public void | setXPathFunctionResolver(XPathFunctionResolver resolver)
Implements javax. Establish a function resolver. |
| public void | setXPathVariableResolver(XPathVariableResolver resolver)
Implements javax. Establish a variable resolver. |
| namespaceContext | back to summary |
|---|---|
| private NamespaceContext namespaceContext | |
| origFunctionResolver | back to summary |
|---|---|
| private XPathFunctionResolver origFunctionResolver | |
| origVariableResolver | back to summary |
|---|---|
| private XPathVariableResolver origVariableResolver | |
| XPathImpl | back to summary |
|---|---|
| pack-priv XPathImpl(XPathVariableResolver vr, XPathFunctionResolver fr) | |
| XPathImpl | back to summary |
|---|---|
| pack-priv XPathImpl(XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, JdkXmlFeatures featureManager, XMLSecurityManager xmlSecMgr, XMLSecurityPropertyManager xmlSecPropMgr) | |
| compile | back to summary |
|---|---|
| public XPathExpression compile(String expression) throws XPathExpressionException Implements javax. Doc from javax. Compile an XPath expression for later evaluation. If If
| |
| eval | back to summary |
|---|---|
| private XObject eval(String expression, Object contextItem) throws TransformerException Evaluate an
| |
| evaluate | back to summary |
|---|---|
| public Object evaluate(String expression, Object item, QName returnType) throws XPathExpressionException Implements javax. Doc from javax. Evaluate an
See Evaluation of XPath Expressions
for context item evaluation, variable, function and
The parameter
| |
| evaluate | back to summary |
|---|---|
| public String evaluate(String expression, Object item) throws XPathExpressionException Implements javax. Doc from javax. Evaluate an 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(String expression, InputSource source, QName returnType) throws XPathExpressionException Implements javax. Doc from javax. Evaluate an 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.
| |
| evaluate | back to summary |
|---|---|
| public String evaluate(String expression, InputSource source) throws XPathExpressionException Implements javax. Doc from javax. Evaluate an 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.
| |
| evaluateExpression | back to summary |
|---|---|
| public <T> T evaluateExpression(String expression, Object item, Class<T> type) throws XPathExpressionException Overrides default javax. Doc from javax. Evaluate an 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 an XPath expression in the specified context. This is equivalent to
calling
The parameter
| |
| evaluateExpression | back to summary |
|---|---|
| public <T> T evaluateExpression(String expression, InputSource source, Class<T> type) throws XPathExpressionException Overrides default javax. Doc from javax. Evaluate an XPath expression in the context of the specified
This method builds a data model for the
| |
| evaluateExpression | back to summary |
|---|---|
| public XPathEvaluationResult Overrides default javax. Doc from javax. Evaluate an XPath expression in the specified context. This is equivalent to
calling
| |
| getNamespaceContext | back to summary |
|---|---|
| public NamespaceContext getNamespaceContext() Implements javax. Doc from javax. Return the current namespace context.
| |
| getXPathFunctionResolver | back to summary |
|---|---|
| public XPathFunctionResolver getXPathFunctionResolver() Implements javax. Doc from javax. Return the current function resolver.
| |
| getXPathVariableResolver | back to summary |
|---|---|
| public XPathVariableResolver getXPathVariableResolver() Implements javax. Doc from javax. Return the current variable resolver.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements javax. Doc from javax. Reset this
The reset | |
| setNamespaceContext | back to summary |
|---|---|
| public void setNamespaceContext(NamespaceContext nsContext) Implements javax. Doc from javax. Establish a namespace context. A | |
| setXPathFunctionResolver | back to summary |
|---|---|
| public void setXPathFunctionResolver(XPathFunctionResolver resolver) Implements javax. Doc from javax. Establish a function resolver. A | |
| setXPathVariableResolver | back to summary |
|---|---|
| public void setXPathVariableResolver(XPathVariableResolver resolver) Implements javax. Doc from javax. Establish a variable resolver. A | |