|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.anakia.XPathCache
class XPathCache
Provides a cache for XPath expressions. Used by NodeList
and
AnakiaElement
to minimize XPath parsing in their
selectNodes()
methods.
Field Summary | |
---|---|
private static java.util.Map |
XPATH_CACHE
|
Constructor Summary | |
---|---|
private |
XPathCache()
|
Method Summary | |
---|---|
(package private) static com.werken.xpath.XPath |
getXPath(java.lang.String xpathString)
Returns an XPath object representing the requested XPath expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.util.Map XPATH_CACHE
Constructor Detail |
---|
private XPathCache()
Method Detail |
---|
static com.werken.xpath.XPath getXPath(java.lang.String xpathString)
xpathString
- the XPath expression to parse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |