org.apache.lenya.ac.cache
Class CachedObject

java.lang.Object
  extended by org.apache.lenya.ac.cache.CachedObject

public class CachedObject
extends java.lang.Object

Cached object.

Version:
$Id: CachedObject.java 473861 2006-11-12 03:51:14Z gregor $

Constructor Summary
CachedObject(org.apache.excalibur.source.SourceValidity validity, java.lang.Object _value)
          Ctor.
 
Method Summary
 org.apache.excalibur.source.SourceValidity getValidityObject()
          Returns the source validity.
 java.lang.Object getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedObject

public CachedObject(org.apache.excalibur.source.SourceValidity validity,
                    java.lang.Object _value)
Ctor.

Parameters:
validity - The source validity.
_value - The value.
Method Detail

getValue

public java.lang.Object getValue()
Returns the value.

Returns:
An object.

getValidityObject

public org.apache.excalibur.source.SourceValidity getValidityObject()
Returns the source validity.

Returns:
A source validity.


Copyright $ Apache Software Foundation. All Rights Reserved.