BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.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.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.


Method Summary
 XPath create(java.lang.String exprString, javax.xml.transform.SourceLocator locator, PrefixResolver prefixResolver, int type)
          Create an XPath.
 

Method Detail

create

public 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 of XPath.SELECT or XPath.MATCH.
Returns:
an XPath ready for execution.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.