|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.IOXPathFactory
public class IOXPathFactory
A factory class for returning IOXPath implementations.
This factory uses the value of the system property specified by Utils.SYSTEM_PROPERTY_XPATH_IMPLEMENTATION
.
The value of this property should be the class name of a subclass of IOXPath
. The default implementation if
none has been specified by Utils.SYSTEM_PROPERTY_XPATH_IMPLEMENTATION
is currently biz.c24.io.api.data.saxon.SaxonXPath
.
Constructor Summary | |
---|---|
IOXPathFactory()
|
Method Summary | |
---|---|
static IOXPath |
getInstance(String xpath)
Returns an instance of IOXPath according to the concrete XPath implementation selected given the specified XPath expression. |
static IOXPath |
getInstance(XPathStatement statement)
Returns an instance of IOXPath according to the concrete XPath implementation selected given the specified XPath statement. |
static IOXPath |
getInstanceSafe(String xpath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOXPathFactory()
Method Detail |
---|
public static IOXPath getInstance(XPathStatement statement) throws IOXPathException
statement
- The XPath statement to be evaluated.
IOXPathException
- If an exception occurs trying to instantiate the xpath implementation.public static IOXPath getInstanceSafe(String xpath)
public static IOXPath getInstance(String xpath) throws IOXPathException
In general the getInstance(XPathStatement)
method should be preferred to this one since this method is
provides no way to make the resulting XPath namespace aware.
xpath
- The XPath expression to be evaluated.
IOXPathException
- If the XPath is invalid or an exception occurs trying to instantiate the xpath implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |