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
Special
XSLTProcessor.TransformerHandlerAndValidity
with information about the cache state of the underlying Templates
.-
Constructor Summary
ConstructorDescriptionExtendedTransformerHandlerAndValidity
(TransformerHandler handler, SourceValidity validity, ThreadSafeTraxProcessor.CacheValidity cacheValidity) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns theThreadSafeTraxProcessor.CacheValidity
associated with the current stylesheet.boolean
Returns true if the underlyingTemplates
has been taken from cache.Methods inherited from class org.apache.excalibur.xml.xslt.XSLTProcessor.TransformerHandlerAndValidity
getTransfomerHandler, getTransfomerValidity
-
Constructor Details
-
ExtendedTransformerHandlerAndValidity
public ExtendedTransformerHandlerAndValidity(TransformerHandler handler, SourceValidity validity, ThreadSafeTraxProcessor.CacheValidity cacheValidity) Constructor.- Parameters:
handler
- theTransformerHandler
.validity
- theSourceValidity
.cacheValidity
- the cache status.
-
-
Method Details
-
isFromCache
Returns true if the underlyingTemplates
has been taken from cache.- Returns:
- true if taken from cache.
-
getValidity
Returns theThreadSafeTraxProcessor.CacheValidity
associated with the current stylesheet.- Returns:
- the
ThreadSafeTraxProcessor.CacheValidity
.
-