Package org.ametys.runtime.cocoon
Class ThreadSafeTraxProcessor.ExtendedTransformerHandlerAndValidity
- java.lang.Object
-
- org.apache.excalibur.xml.xslt.XSLTProcessor.TransformerHandlerAndValidity
-
- org.ametys.runtime.cocoon.ThreadSafeTraxProcessor.ExtendedTransformerHandlerAndValidity
-
- Enclosing class:
- ThreadSafeTraxProcessor
public static class ThreadSafeTraxProcessor.ExtendedTransformerHandlerAndValidity extends XSLTProcessor.TransformerHandlerAndValidity
SpecialXSLTProcessor.TransformerHandlerAndValiditywith information about the cache state of the underlyingTemplates.
-
-
Constructor Summary
Constructors Constructor Description ExtendedTransformerHandlerAndValidity(TransformerHandler handler, SourceValidity validity, ThreadSafeTraxProcessor.CacheValidity cacheValidity)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadSafeTraxProcessor.CacheValiditygetValidity()Returns theThreadSafeTraxProcessor.CacheValidityassociated with the current stylesheet.booleanisFromCache()Returns true if the underlyingTemplateshas been taken from cache.-
Methods inherited from class org.apache.excalibur.xml.xslt.XSLTProcessor.TransformerHandlerAndValidity
getTransfomerHandler, getTransfomerValidity
-
-
-
-
Constructor Detail
-
ExtendedTransformerHandlerAndValidity
public ExtendedTransformerHandlerAndValidity(TransformerHandler handler, SourceValidity validity, ThreadSafeTraxProcessor.CacheValidity cacheValidity)
Constructor.- Parameters:
handler- theTransformerHandler.validity- theSourceValidity.cacheValidity- the cache status.
-
-
Method Detail
-
isFromCache
public boolean isFromCache()
Returns true if the underlyingTemplateshas been taken from cache.- Returns:
- true if taken from cache.
-
getValidity
public ThreadSafeTraxProcessor.CacheValidity getValidity()
Returns theThreadSafeTraxProcessor.CacheValidityassociated with the current stylesheet.- Returns:
- the
ThreadSafeTraxProcessor.CacheValidity.
-
-