public interface XPathFactory
| Modifier and Type | Method and Description |
|---|---|
XPath |
create(java.lang.String exprString,
javax.xml.transform.SourceLocator locator,
PrefixResolver prefixResolver,
int type)
Create an XPath.
|
XPath create(java.lang.String exprString, javax.xml.transform.SourceLocator locator, PrefixResolver prefixResolver, int type)
exprString - The XPath expression string.locator - The location of the expression string, mainly for diagnostic
purposes.prefixResolver - This will be called in order to resolve prefixes
to namespace URIs.type - One of XPath.SELECT or
XPath.MATCH.Copyright © 2023 Apache XML Project. All Rights Reserved.