XPathFactory

public abstract class XPathFactory extends Object

An XPathFactory instance can be used to create XPath objects.

See newInstance(String) for lookup mechanism.

Constant Summary

String DEFAULT_OBJECT_MODEL_URI

Default Object Model URI.

String DEFAULT_PROPERTY_NAME

The default property name according to the JAXP spec.

Protected Constructor Summary

XPathFactory()

Protected constructor as newInstance(), newInstance(String) or newInstance(String, String, ClassLoader) should be used to create a new instance of an XPathFactory.

Public Method Summary

abstract boolean
getFeature(String name)

Get the state of the named feature.

abstract boolean
isObjectModelSupported(String objectModel)

Is specified object model supported by this XPathFactory?

final static XPathFactory
newInstance()

Get a new XPathFactory instance using the default object model, DEFAULT_OBJECT_MODEL_URI, the W3C DOM.

static XPathFactory
newInstance(String uri, String factoryClassName, ClassLoader classLoader)
final static XPathFactory