wt.util.xml.xpath.xalan2
Class XPathFactoryXalan2Impl
java.lang.Object
wt.util.xml.xpath.XPathFactory
wt.util.xml.xpath.xalan2.XPathFactoryXalan2Impl
- public class XPathFactoryXalan2Impl
- extends XPathFactory
Method Summary |
XPath |
newXPath(String xpathExprStr)
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 |
MAX_CACHED_XPATHS
private static final int MAX_CACHED_XPATHS
- See Also:
- Constant Field Values
cacheLock
private static final Object cacheLock
exprStringToXPathMap
private static final Map exprStringToXPathMap
exprStringList
private static final List exprStringList
XPathFactoryXalan2Impl
public XPathFactoryXalan2Impl()
throws FactoryCreationException
newXPath
public XPath newXPath(String xpathExprStr)
throws XPathException
- Description copied from class:
XPathFactory
- Create an XPath instance that can be used to locate nodes at the spectified
path.
See the documentation for XPath for an example of how to use XPaths
for locating matches.
Supported API: true
- Specified by:
newXPath
in class XPathFactory
- Parameters:
xpathExprStr
- the string representation of the path
- Returns:
- a non-null XPath instance
- Throws:
XPathException
- if there is a problem creating the instance
such as a syntax error in the expression- See Also:
XPath