Package org.apache.xpath
Interface XPathFactory
-
public interface XPathFactory
Factory class for creating an XPath. Implementors of XPath derivatives will need to make a derived class of this.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XPath
create(java.lang.String exprString, javax.xml.transform.SourceLocator locator, PrefixResolver prefixResolver, int type)
Create an XPath.
-
-
-
Method Detail
-
create
XPath create(java.lang.String exprString, javax.xml.transform.SourceLocator locator, PrefixResolver prefixResolver, int type)
Create an XPath.- Parameters:
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 ofXPath.SELECT
orXPath.MATCH
.- Returns:
- an XPath ready for execution.
-
-