|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.xml.xpath.XPathFactory
Abstract factory interface for manufacturing XPath implementations.
Factory instances are created via one of the createNewFactoryInstance
methods.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
DEFAULT_XPATH_IMPL
|
private static String |
RESOURCE
|
Constructor Summary | |
protected |
XPathFactory()
Supported API: false |
Method Summary | |
static XPathFactory |
createNewFactoryInstance()
Create a new factory instance of a default implementation. |
static XPathFactory |
createNewFactoryInstance(String class_name)
Create a new factory instance of the given concrete class dynamically from its fully qualified class name. |
abstract XPath |
newXPath(String x_path_expression)
Create an XPath instance that can be used to locate nodes at the spectified path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String DEFAULT_XPATH_IMPL
Constructor Detail |
protected XPathFactory() throws FactoryCreationException
FactoryCreationException
- if construction failsMethod Detail |
public static final XPathFactory createNewFactoryInstance() throws FactoryCreationException
FactoryCreationException
- if public static final XPathFactory createNewFactoryInstance(String class_name) throws FactoryCreationException
class_name
- fully qualified name of concrete implementation
FactoryCreationException
- if public abstract XPath newXPath(String x_path_expression) throws XPathException
See the documentation for XPath for an example of how to use XPaths
for locating matches.
Supported API: true
x_path_expression
- the string representation of the path
XPathException
- if there is a problem creating the instance
such as a syntax error in the expressionXPath
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |