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(PrintWriter out)
Outputs the cache statistics
|
DOM |
retrieveDocument(String baseURI,
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 SAXException
SAXException
public DocumentCache(int size, XSLTCDTMManager dtmManager) throws SAXException
SAXException
public DOM retrieveDocument(String baseURI, 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(PrintWriter out)
Copyright © 2019 JBoss by Red Hat. All rights reserved.