<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:27 PDT 2012 --> | |
<TITLE> | |
DocumentCache | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xalan.xsltc.dom.DocumentCache class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="DocumentCache"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DocumentCache.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/CurrentNodeListIterator.html" title="class in org.apache.xalan.xsltc.dom"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xalan/xsltc/dom/DocumentCache.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DocumentCache.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xalan.xsltc.dom</FONT> | |
<BR> | |
Class DocumentCache</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xalan.xsltc.dom.DocumentCache</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/xalan/xsltc/DOMCache.html" title="interface in org.apache.xalan.xsltc">DOMCache</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public final class <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.54"><B>DocumentCache</B></A><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/xalan/xsltc/DOMCache.html" title="interface in org.apache.xalan.xsltc">DOMCache</A></DL> | |
</PRE> | |
<P> | |
<HR> | |
<P> | |
<!-- ======== NESTED CLASS SUMMARY ======== --> | |
<A NAME="nested_class_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Nested Class Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> class</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_count">_count</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_current">_current</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xalan/xsltc/dom/XSLTCDTMManager.html" title="class in org.apache.xalan.xsltc.dom">XSLTCDTMManager</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_dtmManager">_dtmManager</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private javax.xml.parsers.SAXParser</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_parser">_parser</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private org.xml.sax.XMLReader</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_reader">_reader</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.util.Hashtable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_references">_references</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_size">_size</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.String[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#_URIs">_URIs</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#REFRESH_INTERVAL">REFRESH_INTERVAL</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#DocumentCache(int)">DocumentCache</A></B>(int size)</CODE> | |
<BR> | |
DocumentCache constructor</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#DocumentCache(int, org.apache.xalan.xsltc.dom.XSLTCDTMManager)">DocumentCache</A></B>(int size, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/XSLTCDTMManager.html" title="class in org.apache.xalan.xsltc.dom">XSLTCDTMManager</A> dtmManager)</CODE> | |
<BR> | |
DocumentCache constructor</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private long</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#getLastModified(java.lang.String)">getLastModified</A></B>(java.lang.String uri)</CODE> | |
<BR> | |
Returns the time-stamp for a document's last update</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#getStatistics(java.io.PrintWriter)">getStatistics</A></B>(java.io.PrintWriter out)</CODE> | |
<BR> | |
Outputs the cache statistics</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#insertDocument(java.lang.String, org.apache.xalan.xsltc.dom.DocumentCache.CachedDocument)">insertDocument</A></B>(java.lang.String uri, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A> doc)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#lookupDocument(java.lang.String)">lookupDocument</A></B>(java.lang.String uri)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#replaceDocument(java.lang.String, org.apache.xalan.xsltc.dom.DocumentCache.CachedDocument)">replaceDocument</A></B>(java.lang.String uri, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A> doc)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.html#retrieveDocument(java.lang.String, java.lang.String, org.apache.xalan.xsltc.Translet)">retrieveDocument</A></B>(java.lang.String baseURI, | |
java.lang.String href, | |
<A HREF="../../../../../org/apache/xalan/xsltc/Translet.html" title="interface in org.apache.xalan.xsltc">Translet</A> trs)</CODE> | |
<BR> | |
Returns a document either by finding it in the cache or | |
downloading it and putting it in the cache.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="_size"><!-- --></A><H3> | |
_size</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.56"><B>_size</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_references"><!-- --></A><H3> | |
_references</H3> | |
<PRE> | |
private java.util.Hashtable <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.57"><B>_references</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_URIs"><!-- --></A><H3> | |
_URIs</H3> | |
<PRE> | |
private java.lang.String[] <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.58"><B>_URIs</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_count"><!-- --></A><H3> | |
_count</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.59"><B>_count</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_current"><!-- --></A><H3> | |
_current</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.60"><B>_current</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_parser"><!-- --></A><H3> | |
_parser</H3> | |
<PRE> | |
private javax.xml.parsers.SAXParser <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.61"><B>_parser</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_reader"><!-- --></A><H3> | |
_reader</H3> | |
<PRE> | |
private org.xml.sax.XMLReader <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.62"><B>_reader</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_dtmManager"><!-- --></A><H3> | |
_dtmManager</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xalan/xsltc/dom/XSLTCDTMManager.html" title="class in org.apache.xalan.xsltc.dom">XSLTCDTMManager</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.63"><B>_dtmManager</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="REFRESH_INTERVAL"><!-- --></A><H3> | |
REFRESH_INTERVAL</H3> | |
<PRE> | |
private static final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.65"><B>REFRESH_INTERVAL</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xalan.xsltc.dom.DocumentCache.REFRESH_INTERVAL">Constant Field Values</A></DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="DocumentCache(int)"><!-- --></A><H3> | |
DocumentCache</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.154"><B>DocumentCache</B></A>(int size) | |
throws org.xml.sax.SAXException</PRE> | |
<DL> | |
<DD>DocumentCache constructor | |
<P> | |
<DL> | |
<DT><B>Throws:</B> | |
<DD><CODE>org.xml.sax.SAXException</CODE></DL> | |
</DL> | |
<HR> | |
<A NAME="DocumentCache(int, org.apache.xalan.xsltc.dom.XSLTCDTMManager)"><!-- --></A><H3> | |
DocumentCache</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.167"><B>DocumentCache</B></A>(int size, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/XSLTCDTMManager.html" title="class in org.apache.xalan.xsltc.dom">XSLTCDTMManager</A> dtmManager) | |
throws org.xml.sax.SAXException</PRE> | |
<DL> | |
<DD>DocumentCache constructor | |
<P> | |
<DL> | |
<DT><B>Throws:</B> | |
<DD><CODE>org.xml.sax.SAXException</CODE></DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="getLastModified(java.lang.String)"><!-- --></A><H3> | |
getLastModified</H3> | |
<PRE> | |
private final long <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.195"><B>getLastModified</B></A>(java.lang.String uri)</PRE> | |
<DL> | |
<DD>Returns the time-stamp for a document's last update | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="lookupDocument(java.lang.String)"><!-- --></A><H3> | |
lookupDocument</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.218"><B>lookupDocument</B></A>(java.lang.String uri)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="insertDocument(java.lang.String, org.apache.xalan.xsltc.dom.DocumentCache.CachedDocument)"><!-- --></A><H3> | |
insertDocument</H3> | |
<PRE> | |
private void <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.225"><B>insertDocument</B></A>(java.lang.String uri, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A> doc)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="replaceDocument(java.lang.String, org.apache.xalan.xsltc.dom.DocumentCache.CachedDocument)"><!-- --></A><H3> | |
replaceDocument</H3> | |
<PRE> | |
private void <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.244"><B>replaceDocument</B></A>(java.lang.String uri, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom">DocumentCache.CachedDocument</A> doc)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="retrieveDocument(java.lang.String, java.lang.String, org.apache.xalan.xsltc.Translet)"><!-- --></A><H3> | |
retrieveDocument</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.256"><B>retrieveDocument</B></A>(java.lang.String baseURI, | |
java.lang.String href, | |
<A HREF="../../../../../org/apache/xalan/xsltc/Translet.html" title="interface in org.apache.xalan.xsltc">Translet</A> trs)</PRE> | |
<DL> | |
<DD>Returns a document either by finding it in the cache or | |
downloading it and putting it in the cache. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xalan/xsltc/DOMCache.html#retrieveDocument(java.lang.String, java.lang.String, org.apache.xalan.xsltc.Translet)">retrieveDocument</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xalan/xsltc/DOMCache.html" title="interface in org.apache.xalan.xsltc">DOMCache</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>baseURI</CODE> - The base URI used by the document call.<DD><CODE>href</CODE> - The href argument passed to the document function.<DD><CODE>trs</CODE> - A reference to the translet requesting the document</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getStatistics(java.io.PrintWriter)"><!-- --></A><H3> | |
getStatistics</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/DocumentCache.html#line.316"><B>getStatistics</B></A>(java.io.PrintWriter out)</PRE> | |
<DL> | |
<DD>Outputs the cache statistics | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DocumentCache.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/CurrentNodeListIterator.html" title="class in org.apache.xalan.xsltc.dom"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/DocumentCache.CachedDocument.html" title="class in org.apache.xalan.xsltc.dom"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xalan/xsltc/dom/DocumentCache.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DocumentCache.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |