API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.xpath. XPathFactory View Source
Author(s)
Norman Walsh
Jeff Suttor
Since
1.5
Version
$Revision: 1.4 $, $Date: 2005/11/03 19:34:16 $
Serial
Hierarchy
 Object
      XPathFactory
Implements
Subclasses
Description
publicabstract abstract class XPathFactory
  An XPathFactory instance can be used to create XPath objects.
See also:   
Constructors
protected XPathFactory ()
Methods
Hide/Show inherited methods
publicabstract boolean getFeature (String name) throws XPathFactoryConfigurationException
  Get the state of the named feature.
publicabstract boolean isObjectModelSupported (String objectModel)
  Is specified object model supported by this XPathFactory?
publicfinalstatic XPathFactory newInstance ()
  Get a new XPathFactory instance using the default object model, XPathFactory.DEFAULT_OBJECT_MODEL_URI, the W3C DOM.
publicfinalstatic XPathFactory newInstance (String uri) throws XPathFactoryConfigurationException
  Get a new XPathFactory instance using the specified object model.
publicstatic XPathFactory newInstance (String uri, String factoryClassName, ClassLoader classLoader) throws XPathFactoryConfigurationException
  Obtain a new instance of a XPathFactory from a factory class name.
publicabstract XPath newXPath ()
  Return a new XPath using the underlying object model determined when the XPathFactory was instantiated.
publicabstract void setFeature (String name, boolean value) throws XPathFactoryConfigurationException
  Set a feature for this XPathFactory and XPaths created by this factory.
publicabstract void setXPathFunctionResolver (XPathFunctionResolver resolver)
  Establish a default function resolver.
publicabstract void setXPathVariableResolver (XPathVariableResolver resolver)
  Establish a default variable resolver.
Fields
Hide/Show inherited fields
publicfinalstatic String DEFAULT_OBJECT_MODEL_URI = "http://java.sun.com/jaxp/xpath/dom"
  Default Object Model URI.
publicfinalstatic String DEFAULT_PROPERTY_NAME = "javax.xml.xpath.XPathFactory"
  The default property name according to the JAXP spec.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar