org.apache.velocity.anakia
Class XPathCache
java.lang.Object
org.apache.velocity.anakia.XPathCache
(package private) class XPathCache
extends java.lang.Object
Provides a cache for XPath expressions. Used by
NodeList
and
AnakiaElement
to minimize XPath parsing in their
selectNodes()
methods.
$Id: XPathCache.java,v 1.1.10.1 2004/03/03 23:22:04 geirm Exp $
(package private) static XPath | getXPath(String xpathString) - Returns an XPath object representing the requested XPath expression.
|
XPATH_CACHE
private static final Map XPATH_CACHE
XPathCache
private XPathCache()
getXPath
(package private) static XPath getXPath(String xpathString)
Returns an XPath object representing the requested XPath expression.
A cached object is returned if it already exists for the requested expression.
xpathString
- the XPath expression to parse
- the XPath object that represents the parsed XPath expression.
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.