org.apache.cocoon.caching
Class IncludeCacheValidity
java.lang.Object
|
+--org.apache.cocoon.caching.IncludeCacheValidity
- All Implemented Interfaces:
- CacheValidity, java.io.Serializable
- public final class IncludeCacheValidity
- extends java.lang.Object
- implements CacheValidity
A validation object used in CachingCIncludeTransformer
- Version:
- CVS $Id: IncludeCacheValidity.java,v 1.6 2002/02/22 07:03:49 cziegeler Exp $
- Author:
- Maciek Kaminski
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IncludeCacheValidity
public IncludeCacheValidity(SourceResolver resolver)
isNew
public boolean isNew()
setIsNew2False
public void setIsNew2False()
add
public void add(java.lang.String source,
long timeStamp)
isValid
public boolean isValid(CacheValidity validity)
- Description copied from interface:
CacheValidity
- Check if the component is still valid.
This is only true, if the incoming CacheValidity is of the same
type and has the same values.
- Specified by:
isValid
in interface CacheValidity
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.