| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.service.cache.Cache
atg.xml.service.DocumentCache
public class DocumentCache
A DocumentCache can be used to store W3C Document Object Model objects. Access to these documents are keyed by a DocumentCacheKey.
DocumentCacheKey, 
Serialized Form| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSION | 
| Fields inherited from class atg.nucleus.GenericService | 
|---|
| SERVICE_INFO_KEY | 
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging | 
|---|
| DEFAULT_LOG_TRACE_STATUS | 
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging | 
|---|
| DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS | 
| Constructor Summary | |
|---|---|
| DocumentCache() | |
| Method Summary | |
|---|---|
|  java.lang.Object | get(DocumentCacheKey pKey)Get a document from the cache, note this will parse the document if it does not already exist in the cache. | 
|  void | put(DocumentCacheKey pKey,
    DocumentCacheValue pValue)Put a document in the cache | 
|  void | remove(DocumentCacheKey pKey)Remove a document from the cache | 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
|---|
| vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public DocumentCache()
| Method Detail | 
|---|
public java.lang.Object get(DocumentCacheKey pKey)
                     throws java.lang.Exception
pKey - A DocumentCacheKey.
java.lang.Exception
public void put(DocumentCacheKey pKey,
                DocumentCacheValue pValue)
pKey - A DocumentCacheKey.pValue - A DocumentCacheValue.public void remove(DocumentCacheKey pKey)
pKey - A DocumentCacheKey.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||