org.apache.cocoon.caching
Class SourceCacheValidity

java.lang.Object
  extended by org.apache.cocoon.caching.SourceCacheValidity
All Implemented Interfaces:
Serializable, CacheValidity

Deprecated. Use the Avalon Excalibur SourceValidity implementations instead

public final class SourceCacheValidity
extends Object
implements CacheValidity

A CacheValidity object wrapping the Avalon Excalibur SourceValidity object.

Since:
2.1
Version:
CVS $Id: SourceCacheValidity.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Field Summary
protected  SourceValidity sourceValidity
          Deprecated.  
 
Constructor Summary
SourceCacheValidity(SourceValidity validity)
          Deprecated. Constructor
 
Method Summary
 SourceValidity getSourceValidity()
          Deprecated. Get the real validity
 boolean isValid(CacheValidity validity)
          Deprecated. Check if the component is still valid.
 String toString()
          Deprecated. Creates text represenation of the validity object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceValidity

protected SourceValidity sourceValidity
Deprecated. 
Constructor Detail

SourceCacheValidity

public SourceCacheValidity(SourceValidity validity)
Deprecated. 
Constructor

Method Detail

isValid

public boolean isValid(CacheValidity validity)
Deprecated. 
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

getSourceValidity

public SourceValidity getSourceValidity()
Deprecated. 
Get the real validity


toString

public String toString()
Deprecated. 
Description copied from interface: CacheValidity
Creates text represenation of the validity object. This is used to create fake 'lastModificationDate' for cocoon: sources.

Due to changes in source API, this method is no longer needed, starting with Cocoon 2.1.

Specified by:
toString in interface CacheValidity
Overrides:
toString in class Object


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.