wt.util.xml.xpath.xalan2
Class XPathFactoryXalan2Impl

java.lang.Object
  extended bywt.util.xml.xpath.XPathFactory
      extended bywt.util.xml.xpath.xalan2.XPathFactoryXalan2Impl

public class XPathFactoryXalan2Impl
extends XPathFactory


Field Summary
private static Object cacheLock
           
private static List exprStringList
           
private static Map exprStringToXPathMap
           
private static int MAX_CACHED_XPATHS
           
 
Fields inherited from class wt.util.xml.xpath.XPathFactory
 
Constructor Summary
XPathFactoryXalan2Impl()
           
 
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 wt.util.xml.xpath.XPathFactory
createNewFactoryInstance, createNewFactoryInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

XPathFactoryXalan2Impl

public XPathFactoryXalan2Impl()
                       throws FactoryCreationException
Method Detail

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