org.apache.lenya.cms.cocoon.source
Class RepositorySourceValidity

java.lang.Object
  extended by org.apache.lenya.cms.cocoon.source.RepositorySourceValidity
All Implemented Interfaces:
java.io.Serializable, org.apache.excalibur.source.SourceValidity

public class RepositorySourceValidity
extends java.lang.Object
implements org.apache.excalibur.source.SourceValidity

Validity for repository sources.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.excalibur.source.SourceValidity
INVALID, UNKNOWN, VALID
 
Constructor Summary
RepositorySourceValidity(RepositorySource source)
           
 
Method Summary
protected  long getLastModified()
           
protected  java.lang.String getSourceURI()
           
 int isValid()
           
 int isValid(org.apache.excalibur.source.SourceValidity validity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositorySourceValidity

public RepositorySourceValidity(RepositorySource source)
Parameters:
source - The source this validity is for.
Method Detail

isValid

public int isValid()
Specified by:
isValid in interface org.apache.excalibur.source.SourceValidity

isValid

public int isValid(org.apache.excalibur.source.SourceValidity validity)
Specified by:
isValid in interface org.apache.excalibur.source.SourceValidity

getLastModified

protected long getLastModified()

getSourceURI

protected java.lang.String getSourceURI()


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.