org.apache.xalan.xsltc.dom
Class DocumentCache
java.lang.Object
org.apache.xalan.xsltc.dom.DocumentCache
- All Implemented Interfaces:
- DOMCache
- public final class DocumentCache
- extends Object
- implements DOMCache
- Author:
- Morten Jorgensen
DocumentCache
public DocumentCache(int size)
throws SAXException
- DocumentCache constructor
DocumentCache
public DocumentCache(int size,
XSLTCDTMManager dtmManager)
throws SAXException
- DocumentCache constructor
retrieveDocument
public 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.
- Specified by:
retrieveDocument
in interface DOMCache
- 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
public void getStatistics(PrintWriter out)
- Outputs the cache statistics
Copyright ? 2004 Apache XML Project. All Rights Reserved.