Package org.apache.xalan.xsltc.dom
Class DocumentCache
java.lang.Object
org.apache.xalan.xsltc.dom.DocumentCache
- All Implemented Interfaces:
DOMCache
- Author:
- Morten Jorgensen
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDocumentCache
(int size) DocumentCache constructorDocumentCache
(int size, XSLTCDTMManager dtmManager) DocumentCache constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getStatistics
(PrintWriter out) Outputs the cache statisticsretrieveDocument
(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.
-
Constructor Details
-
DocumentCache
DocumentCache constructor- Throws:
SAXException
-
DocumentCache
DocumentCache constructor- Throws:
SAXException
-
-
Method Details
-
retrieveDocument
Returns a document either by finding it in the cache or downloading it and putting it in the cache.- Specified by:
retrieveDocument
in interfaceDOMCache
- Parameters:
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 document
-
getStatistics
Outputs the cache statistics
-