org.apache.xml.security.utils
Class CachedXPathAPIHolder

java.lang.Object
  extended byorg.apache.xml.security.utils.CachedXPathAPIHolder

public class CachedXPathAPIHolder
extends java.lang.Object

Author:
Raul Benito

Constructor Summary
CachedXPathAPIHolder()
           
 
Method Summary
static org.apache.xpath.CachedXPathAPI getCachedXPathAPI()
           
static void setDoc(org.w3c.dom.Document doc)
          Sets the doc for the xpath transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedXPathAPIHolder

public CachedXPathAPIHolder()
Method Detail

setDoc

public static void setDoc(org.w3c.dom.Document doc)
Sets the doc for the xpath transformation. Resets the cache if needed

Parameters:
doc -

getCachedXPathAPI

public static org.apache.xpath.CachedXPathAPI getCachedXPathAPI()
Returns:
the cachexpathapi for this thread