Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / WWW / Doc / Programmer / api / org / w3c / tools / resources / store / ResourceStore.html
diff --git a/JMCR-Stable/real-world application/jigsaw/WWW/Doc/Programmer/api/org/w3c/tools/resources/store/ResourceStore.html b/JMCR-Stable/real-world application/jigsaw/WWW/Doc/Programmer/api/org/w3c/tools/resources/store/ResourceStore.html
new file mode 100644 (file)
index 0000000..202640b
--- /dev/null
@@ -0,0 +1,564 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
+<!--NewPage-->\r
+<HTML>\r
+<HEAD>\r
+<!-- Generated by javadoc (build 1.5.0_11) on Tue Apr 10 15:02:44 UTC 2007 -->\r
+<TITLE>\r
+ResourceStore\r
+</TITLE>\r
+\r
+<META NAME="keywords" CONTENT="org.w3c.tools.resources.store.ResourceStore interface">\r
+\r
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">\r
+\r
+<SCRIPT type="text/javascript">\r
+function windowTitle()\r
+{\r
+    parent.document.title="ResourceStore";\r
+}\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+</NOSCRIPT>\r
+\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="white" onload="windowTitle();">\r
+\r
+\r
+<!-- ========= START OF TOP NAVBAR ======= -->\r
+<A NAME="navbar_top"><!-- --></A>\r
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>\r
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
+<TR>\r
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
+<A NAME="navbar_top_firstrow"><!-- --></A>\r
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
+  <TR ALIGN="center" VALIGN="top">\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
+  </TR>\r
+</TABLE>\r
+</TD>\r
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
+</EM>\r
+</TD>\r
+</TR>\r
+\r
+<TR>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+&nbsp;<A HREF="../../../../../org/w3c/tools/resources/store/NotAStoreException.html" title="class in org.w3c.tools.resources.store"><B>PREV CLASS</B></A>&nbsp;\r
+&nbsp;<A HREF="../../../../../org/w3c/tools/resources/store/ResourceStoreImpl.html" title="class in org.w3c.tools.resources.store"><B>NEXT CLASS</B></A></FONT></TD>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+  <A HREF="../../../../../index.html?org/w3c/tools/resources/store/ResourceStore.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
+&nbsp;<A HREF="ResourceStore.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
+&nbsp;<SCRIPT type="text/javascript">\r
+  <!--\r
+  if(window==top) {\r
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
+  }\r
+  //-->\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
+</NOSCRIPT>\r
+\r
+\r
+</FONT></TD>\r
+</TR>\r
+<TR>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
+</TR>\r
+</TABLE>\r
+<A NAME="skip-navbar_top"></A>\r
+<!-- ========= END OF TOP NAVBAR ========= -->\r
+\r
+<HR>\r
+<!-- ======== START OF CLASS DATA ======== -->\r
+<H2>\r
+<FONT SIZE="-1">\r
+org.w3c.tools.resources.store</FONT>\r
+<BR>\r
+Interface ResourceStore</H2>\r
+<DL>\r
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStoreImpl.html" title="class in org.w3c.tools.resources.store">ResourceStoreImpl</A></DD>\r
+</DL>\r
+<HR>\r
+<DL>\r
+<DT><PRE>public interface <B>ResourceStore</B></DL>\r
+</PRE>\r
+\r
+<P>\r
+A resource store implements persistency for a set of resources.\r
+ A resource store may implement a number of strategies along different\r
+ axis, for example: \r
+ <ul>\r
+ <li>It may connect to some database to get the resource attributes. \r
+ <li>It may restrict the classes of the resource it handles (for security\r
+      reasons), by using a specific class loader.\r
+ <li>It may implement some caching scheme, to keep memory requirements low.\r
+ <li>It may be distributed (eg using a ResourceStoreStub in the client, but\r
+ providing access to a server-side resource store.).\r
+ </ul>\r
+<P>\r
+\r
+<P>\r
+<HR>\r
+\r
+<P>\r
+\r
+<!-- ========== METHOD SUMMARY =========== -->\r
+\r
+<A NAME="method_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Method Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#acceptUnload()">acceptUnload</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Can this resource store be unloaded now ?\r
+ This method gets called by the ResourceStoreManager before calling\r
+ the <code>shutdown</code> method, when possible.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#addResource(org.w3c.tools.resources.Resource)">addResource</A></B>(<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A>&nbsp;resource)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add this resource to this resource store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#enumerateResourceIdentifiers()">enumerateResourceIdentifiers</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerate all the resources saved in this store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#getIdentifier()">getIdentifier</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the identifier for that store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;int</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#getVersion()">getVersion</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the version of that resource store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#hasResource(java.lang.String)">hasResource</A></B>(java.lang.String&nbsp;identifier)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check for the existence of a resource in this store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#initialize(org.w3c.tools.resources.store.ResourceStoreManager, java.lang.Object, java.io.File, org.w3c.tools.resources.serialization.Serializer)">initialize</A></B>(<A HREF="../../../../../org/w3c/tools/resources/store/ResourceStoreManager.html" title="class in org.w3c.tools.resources.store">ResourceStoreManager</A>&nbsp;manager,\r
+           java.lang.Object&nbsp;token,\r
+           java.io.File&nbsp;repository,\r
+           <A HREF="../../../../../org/w3c/tools/resources/serialization/Serializer.html" title="interface in org.w3c.tools.resources.serialization">Serializer</A>&nbsp;serializer)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This resource store is being built, initialize it with the given arg.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#loadResource(java.lang.String, java.util.Hashtable)">loadResource</A></B>(java.lang.String&nbsp;identifier,\r
+             java.util.Hashtable&nbsp;defs)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restore the resource whose name is given.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#lookupResource(java.lang.String)">lookupResource</A></B>(java.lang.String&nbsp;identifier)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this resource, but only if already loaded.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#markModified(org.w3c.tools.resources.Resource)">markModified</A></B>(<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A>&nbsp;resource)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark this resource as modified.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#removeResource(java.lang.String)">removeResource</A></B>(java.lang.String&nbsp;identifier)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove this resource from the repository.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#renameResource(java.lang.String, java.lang.String)">renameResource</A></B>(java.lang.String&nbsp;oldid,\r
+               java.lang.String&nbsp;newid)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rename a given resource.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#save()">save</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save this store.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#saveResource(org.w3c.tools.resources.Resource)">saveResource</A></B>(<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A>&nbsp;resource)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stabilize the given resource.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../../../../org/w3c/tools/resources/store/ResourceStore.html#shutdown()">shutdown</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shutdown this store.</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<P>\r
+\r
+<!-- ============ METHOD DETAIL ========== -->\r
+\r
+<A NAME="method_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Method Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="getVersion()"><!-- --></A><H3>\r
+getVersion</H3>\r
+<PRE>\r
+int <B>getVersion</B>()</PRE>\r
+<DL>\r
+<DD>Get the version of that resource store.\r
+ Version numbers are used to distinguish between pickling format. \r
+ A resource store implementator has the duty of bumping the returned\r
+ number whenever it's archiving format changes.\r
+ Resource stores that relies on some external archiving mechanisms\r
+ (such as a database), may return a constant.\r
+<P>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>An integer version number.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getIdentifier()"><!-- --></A><H3>\r
+getIdentifier</H3>\r
+<PRE>\r
+java.lang.String <B>getIdentifier</B>()</PRE>\r
+<DL>\r
+<DD>Get the identifier for that store.\r
+<P>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>A uniq store identifier, as a String.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="loadResource(java.lang.String, java.util.Hashtable)"><!-- --></A><H3>\r
+loadResource</H3>\r
+<PRE>\r
+<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A> <B>loadResource</B>(java.lang.String&nbsp;identifier,\r
+                      java.util.Hashtable&nbsp;defs)\r
+                      throws <A HREF="../../../../../org/w3c/tools/resources/InvalidResourceException.html" title="class in org.w3c.tools.resources">InvalidResourceException</A></PRE>\r
+<DL>\r
+<DD>Restore the resource whose name is given.\r
+ This method doesn't assume that the resource will actually be restored,\r
+ it can be kept in a cache by the ResourceStore object, and the cached \r
+ version of the resource may be returned.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>identifier</CODE> - The identifier of the resource to restore.<DD><CODE>defs</CODE> - Default attribute values. If the resource needs to be\r
+     restored from its pickled version, this Hashtable provides\r
+     a set of default values for some of the attributes.\r
+<DT><B>Returns:</B><DD>A Resource instance, or <strong>null</strong>.\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="../../../../../org/w3c/tools/resources/InvalidResourceException.html" title="class in org.w3c.tools.resources">InvalidResourceException</A></CODE> - If the resource could not\r
+ be restored from the store.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="lookupResource(java.lang.String)"><!-- --></A><H3>\r
+lookupResource</H3>\r
+<PRE>\r
+<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A> <B>lookupResource</B>(java.lang.String&nbsp;identifier)</PRE>\r
+<DL>\r
+<DD>Get this resource, but only if already loaded.\r
+ The resource store may (recommended) maintain a cache of the resource\r
+ it loads from its store. If the resource having this identifier \r
+ has already been loaded, return it, otherwise, return\r
+ <strong>null</strong>.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>identifier</CODE> - The resource identifier.\r
+<DT><B>Returns:</B><DD>A Resource instance, or <strong>null</strong>.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="saveResource(org.w3c.tools.resources.Resource)"><!-- --></A><H3>\r
+saveResource</H3>\r
+<PRE>\r
+void <B>saveResource</B>(<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A>&nbsp;resource)</PRE>\r
+<DL>\r
+<DD>Stabilize the given resource.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource to save.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="addResource(org.w3c.tools.resources.Resource)"><!-- --></A><H3>\r
+addResource</H3>\r
+<PRE>\r
+void <B>addResource</B>(<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A>&nbsp;resource)</PRE>\r
+<DL>\r
+<DD>Add this resource to this resource store.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource to be added.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="removeResource(java.lang.String)"><!-- --></A><H3>\r
+removeResource</H3>\r
+<PRE>\r
+void <B>removeResource</B>(java.lang.String&nbsp;identifier)</PRE>\r
+<DL>\r
+<DD>Remove this resource from the repository.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>identifier</CODE> - The identifier of the resource to be removed.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="renameResource(java.lang.String, java.lang.String)"><!-- --></A><H3>\r
+renameResource</H3>\r
+<PRE>\r
+void <B>renameResource</B>(java.lang.String&nbsp;oldid,\r
+                    java.lang.String&nbsp;newid)</PRE>\r
+<DL>\r
+<DD>Rename a given resource.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>oldid</CODE> - The olde resource identifier.<DD><CODE>newid</CODE> - The new resource identifier.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="markModified(org.w3c.tools.resources.Resource)"><!-- --></A><H3>\r
+markModified</H3>\r
+<PRE>\r
+void <B>markModified</B>(<A HREF="../../../../../org/w3c/tools/resources/Resource.html" title="class in org.w3c.tools.resources">Resource</A>&nbsp;resource)</PRE>\r
+<DL>\r
+<DD>Mark this resource as modified.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource that has changed (and will have to be\r
+ pickled some time latter).</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="acceptUnload()"><!-- --></A><H3>\r
+acceptUnload</H3>\r
+<PRE>\r
+boolean <B>acceptUnload</B>()</PRE>\r
+<DL>\r
+<DD>Can this resource store be unloaded now ?\r
+ This method gets called by the ResourceStoreManager before calling\r
+ the <code>shutdown</code> method, when possible. An implementation\r
+ of that method is responsible for checking the <code>acceptUnload\r
+ </code> method of all its loaded resource before returning \r
+ <strong>true</strong>, meaning that the resource store can be unloaded.\r
+<P>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>A boolean <strong>true</strong> if the resource store can be\r
+ unloaded.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="shutdown()"><!-- --></A><H3>\r
+shutdown</H3>\r
+<PRE>\r
+void <B>shutdown</B>()</PRE>\r
+<DL>\r
+<DD>Shutdown this store.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="save()"><!-- --></A><H3>\r
+save</H3>\r
+<PRE>\r
+void <B>save</B>()</PRE>\r
+<DL>\r
+<DD>Save this store.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="enumerateResourceIdentifiers()"><!-- --></A><H3>\r
+enumerateResourceIdentifiers</H3>\r
+<PRE>\r
+java.util.Enumeration <B>enumerateResourceIdentifiers</B>()</PRE>\r
+<DL>\r
+<DD>Enumerate all the resources saved in this store.\r
+<P>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>An enumeration of Strings, giving the identifier for all \r
+     the resources that this store knows about.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="hasResource(java.lang.String)"><!-- --></A><H3>\r
+hasResource</H3>\r
+<PRE>\r
+boolean <B>hasResource</B>(java.lang.String&nbsp;identifier)</PRE>\r
+<DL>\r
+<DD>Check for the existence of a resource in this store.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>identifier</CODE> - The identifier of the resource to check.\r
+<DT><B>Returns:</B><DD>A boolean <strong>true</strong> if the resource exists\r
+    in this store, <strong>false</strong> otherwise.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="initialize(org.w3c.tools.resources.store.ResourceStoreManager, java.lang.Object, java.io.File, org.w3c.tools.resources.serialization.Serializer)"><!-- --></A><H3>\r
+initialize</H3>\r
+<PRE>\r
+void <B>initialize</B>(<A HREF="../../../../../org/w3c/tools/resources/store/ResourceStoreManager.html" title="class in org.w3c.tools.resources.store">ResourceStoreManager</A>&nbsp;manager,\r
+                java.lang.Object&nbsp;token,\r
+                java.io.File&nbsp;repository,\r
+                <A HREF="../../../../../org/w3c/tools/resources/serialization/Serializer.html" title="interface in org.w3c.tools.resources.serialization">Serializer</A>&nbsp;serializer)</PRE>\r
+<DL>\r
+<DD>This resource store is being built, initialize it with the given arg.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>manager</CODE> - The ResourceStoreManager instance that asks yourself\r
+ to initialize.<DD><CODE>token</CODE> - The resource store manager key to that resource store, \r
+ this token should be used when calling methods from the manager that\r
+ are to act on yourself.<DD><CODE>repository</CODE> - A file, giving the location of the associated \r
+    repository.</DL>\r
+</DD>\r
+</DL>\r
+<!-- ========= END OF CLASS DATA ========= -->\r
+<HR>\r
+\r
+\r
+<!-- ======= START OF BOTTOM NAVBAR ====== -->\r
+<A NAME="navbar_bottom"><!-- --></A>\r
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>\r
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
+<TR>\r
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
+<A NAME="navbar_bottom_firstrow"><!-- --></A>\r
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
+  <TR ALIGN="center" VALIGN="top">\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
+  </TR>\r
+</TABLE>\r
+</TD>\r
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
+</EM>\r
+</TD>\r
+</TR>\r
+\r
+<TR>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+&nbsp;<A HREF="../../../../../org/w3c/tools/resources/store/NotAStoreException.html" title="class in org.w3c.tools.resources.store"><B>PREV CLASS</B></A>&nbsp;\r
+&nbsp;<A HREF="../../../../../org/w3c/tools/resources/store/ResourceStoreImpl.html" title="class in org.w3c.tools.resources.store"><B>NEXT CLASS</B></A></FONT></TD>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+  <A HREF="../../../../../index.html?org/w3c/tools/resources/store/ResourceStore.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
+&nbsp;<A HREF="ResourceStore.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
+&nbsp;<SCRIPT type="text/javascript">\r
+  <!--\r
+  if(window==top) {\r
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
+  }\r
+  //-->\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
+</NOSCRIPT>\r
+\r
+\r
+</FONT></TD>\r
+</TR>\r
+<TR>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
+</TR>\r
+</TABLE>\r
+<A NAME="skip-navbar_bottom"></A>\r
+<!-- ======== END OF BOTTOM NAVBAR ======= -->\r
+\r
+<HR>\r
+\r
+</BODY>\r
+</HTML>\r