org.apache.velocity.anakia
Class XPathCache
java.lang.Objectorg.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.
Version:
- Attila Szegedi
(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 © 2003 Apache Software Foundation. All Rights Reserved.