Modifier and Type | Class | Description |
---|---|---|
class |
DocumentCache.CachedDocument |
Constructor | Description |
---|---|
DocumentCache(int size) |
DocumentCache constructor
|
DocumentCache(int size,
XSLTCDTMManager dtmManager) |
DocumentCache constructor
|
Modifier and Type | Method | 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.SAXException
public DocumentCache(int size, XSLTCDTMManager dtmManager) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public DOM retrieveDocument(java.lang.String baseURI, java.lang.String href, Translet trs)
retrieveDocument
in interface DOMCache
baseURI
- 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 ? 2014 Apache XML Project. All Rights Reserved.