public class XPathContext extends Object
| Constructor and Description | 
|---|
| XPathContext(NamespaceContext aContext)Constructs the context. | 
| Modifier and Type | Method and Description | 
|---|---|
| XPathExpression | createExpression(String aExpression)Creates the expression. | 
| XPath | getXpath()To get access to the lower level API. | 
| static XPathContext | xpathcontext(NamespaceContext aContext)Creation of the XPath context for use with static imports. | 
public XPathContext(NamespaceContext aContext)
aContext - Namespaces.public static XPathContext xpathcontext(NamespaceContext aContext)
aContext - Namespace contextpublic XPathExpression createExpression(String aExpression) throws XMLException
aExpression - XPath expression.XMLExceptionpublic XPath getXpath()
Copyright © 2025. All rights reserved.