* @param xpathString the XPath expression to parse
* @return the XPath object that represents the parsed XPath expression.
*/
static XPath getXPath(String xpathString)
{
XPath xpath = null;
synchronized(XPATH_CACHE)
{
xpath = (XPath)XPATH_CACHE.get(xpathString);
if(xpath == null)
{
xpath = new XPath(xpathString);
XPATH_CACHE.put(xpathString, xpath);
}
}
return xpath;
}