| Modifier and Type | Class and Description |
|---|---|
class |
DocumentCache.CachedDocument |
| Constructor and Description |
|---|
DocumentCache(int size)
DocumentCache constructor
|
DocumentCache(int size,
XSLTCDTMManager dtmManager)
DocumentCache constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
getStatistics(java.io.PrintWriter out)
Outputs the cache statistics
|
DOM |
retrieveDocument(java.lang.String baseURI,
java.lang.String href,
Translet trs)
Returns a document either by finding it in the cache or
downloading it and putting it in the cache.
|
public DocumentCache(int size)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic DocumentCache(int size,
XSLTCDTMManager dtmManager)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic DOM retrieveDocument(java.lang.String baseURI, java.lang.String href, Translet trs)
retrieveDocument in interface DOMCachebaseURI - The base URI used by the document call.href - The href argument passed to the document function.trs - A reference to the translet requesting the documentpublic void getStatistics(java.io.PrintWriter out)
Copyright © 2023 Apache XML Project. All Rights Reserved.