| Modifier and Type | Field and Description |
|---|---|
private XPathExpression |
compiledExpression
Compiled form of the expression.
|
private Logger |
log
Class logger.
|
private NamespaceContext |
namespaceContext
The
NamespaceContext to use in interpreting the XPath expression. |
| Constructor and Description |
|---|
XPathItemSelectionStrategy(String expression,
NamespaceContext context)
Constructor.
|
private final Logger log
private final XPathExpression compiledExpression
XPathExpression objects are reusable but are not thread-safe, so access to the compiled expression must
be protected.private final NamespaceContext namespaceContext
NamespaceContext to use in interpreting the XPath expression.public XPathItemSelectionStrategy(@Nonnull@NotEmpty String expression, @Nonnull NamespaceContext context) throws XPathExpressionException
expression - XPath expression to execute.context - Namespace context to use for the expression, expressed as a NamespaceContext.XPathExpressionException - if there is a problem compiling the expressionCopyright © 1999–2016. All rights reserved.