FileDocCategorySizeDatePackage
XPathFactory.javaAPI DocJava SE 5 API1656Fri Aug 26 14:56:06 BST 2005com.sun.org.apache.xpath.internal

XPathFactory

public interface XPathFactory
Factory class for creating an XPath. Implementors of XPath derivatives will need to make a derived class of this.
xsl.usage
advanced

Fields Summary
Constructors Summary
Methods Summary
public com.sun.org.apache.xpath.internal.XPathcreate(java.lang.String exprString, javax.xml.transform.SourceLocator locator, com.sun.org.apache.xml.internal.utils.PrefixResolver prefixResolver, int type)
Create an XPath.

param
exprString The XPath expression string.
param
locator The location of the expression string, mainly for diagnostic purposes.
param
prefixResolver This will be called in order to resolve prefixes to namespace URIs.
param
type One of {@link com.sun.org.apache.xpath.internal.XPath#SELECT} or {@link com.sun.org.apache.xpath.internal.XPath#MATCH}.
return
an XPath ready for execution.