atg.xml.service
Class DocumentCacheValue

java.lang.Object
  extended by atg.xml.service.DocumentCacheValue

public class DocumentCacheValue
extends java.lang.Object

A DocumentCacheValue is used to store an instance of an org.w3c.dom.Document in a DocumentCache.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
DocumentCacheValue()
           
 
Method Summary
 atg.xml.service.DocumentCacheAdapter getCacheAdapter()
          Get the CacheAdapter property.
 java.lang.Object getDocument()
          Get the document property.
 long getExpiration()
          Get the Expiration property
 long getLastModified()
          Get the LastModified property
 long getLength()
          Get the Length property
 boolean isExpired()
          Returns whether or not this cache value has expired.
 void setCacheAdapter(atg.xml.service.DocumentCacheAdapter pCacheAdapter)
          Set the CacheAdapter property.
 void setDocument(java.lang.Object pDocument)
          Set the Document property.
 void setExpiration(long pExpiration)
          Set the Expiration property
 void setLastModified(long pLastModified)
          Set the LastModified property
 void setLength(long pLength)
          Set the Length property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

DocumentCacheValue

public DocumentCacheValue()
Method Detail

setDocument

public void setDocument(java.lang.Object pDocument)
Set the Document property.


getDocument

public java.lang.Object getDocument()
Get the document property.


setLastModified

public void setLastModified(long pLastModified)
Set the LastModified property


getLastModified

public long getLastModified()
Get the LastModified property


setExpiration

public void setExpiration(long pExpiration)
Set the Expiration property


getExpiration

public long getExpiration()
Get the Expiration property


isExpired

public boolean isExpired()
Returns whether or not this cache value has expired.


setLength

public void setLength(long pLength)
Set the Length property


getLength

public long getLength()
Get the Length property


setCacheAdapter

public void setCacheAdapter(atg.xml.service.DocumentCacheAdapter pCacheAdapter)
Set the CacheAdapter property.


getCacheAdapter

public atg.xml.service.DocumentCacheAdapter getCacheAdapter()
Get the CacheAdapter property.