Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / WWW / User / Reference / w3c.jigsaw.map.MapResource.html
diff --git a/JMCR-Stable/real-world application/jigsaw/WWW/User/Reference/w3c.jigsaw.map.MapResource.html b/JMCR-Stable/real-world application/jigsaw/WWW/User/Reference/w3c.jigsaw.map.MapResource.html
new file mode 100644 (file)
index 0000000..8219954
--- /dev/null
@@ -0,0 +1,93 @@
+<HTML>\r
+<HEAD>\r
+  <!-- Created by GNNpress -->\r
+  <TITLE>The MapResource reference guide</TITLE>\r
+<!-- Changed by: Anselm Baird-Smith,  4-Feb-1997 -->\r
+</HEAD>\r
+<BODY BGCOLOR="white">\r
+<A HREF="http://www.w3.org/pub/WWW/" TARGET="_top_">\r
+ <IMG SRC="/icons/WWW/w3c_home.gif"\r
+  ALT="W3C"\r
+  BORDER="0" WIDTH="72" HEIGHT="48"></A>\r
+<A HREF="http://www.w3.org/pub/WWW/Jigsaw/" TARGET="_top_">\r
+ <IMG SRC="/icons/jigsaw" ALT="Jigsaw" BORDER="0">\r
+</A>\r
+<HR>\r
+<A HREF="resources.html">All Resources</A>  \r
+<A HREF="filters.html">All filters </A>\r
+<HR>\r
+<H1>\r
+  MapFileResource\r
+</H1>\r
+<P>\r
+This resource handles image map requests. It wraps a file that contains the\r
+description of the map, in either the\r
+<A HREF="http://www.w3.org/pub/WWW/Daemon/User/CGI/HTImageDoc.html#config">W3C\r
+(CERN) format</A> or the\r
+<A HREF="http://hoohoo.ncsa.uiuc.edu/docs/tutorials/imagemapping.html#First">NCSA\r
+format</A> .\r
+<P>\r
+In addition to the standard keywords, this resource always accepts the extra\r
+keyword "<CODE>nosearch</CODE>", which specifies a URL to redirect to in\r
+case the request doesn't contain a coordinate pair as a query. The format\r
+of this keyword, in either of the two formats, is "<CODE>nosearch\r
+<EM>&lt;URL&gt;</EM></CODE>". The motivation of this option is to support\r
+text-only browsers.\r
+<P>\r
+A good way to use it is to associate the extension "map" to this resource\r
+in the extensions database. Once that is done, if a client requests, say,\r
+"<TT>http://.../menu.map?2,3</TT>", the MapFileResource will try to match\r
+the coordinates in the query (in this case, (2,3)) against each of the regions\r
+defined in the map, and redirect the client to the appropriate URL.\r
+<P>\r
+  <HR>\r
+<H2>\r
+  Inherits\r
+</H2>\r
+<P>\r
+The <A HREF="../api/w3c.jigsaw.map.MapResource.html">MapResource</A> class\r
+inherits from the following classes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="w3c.jigsaw.resources.FileResource.html">FileResource</A>\r
+</UL>\r
+<P>\r
+  <HR>\r
+<H2>\r
+  Attributes description\r
+</H2>\r
+<P>\r
+The MapFileResource defines the following attribute:\r
+<UL>\r
+  <LI>\r
+    <A HREF="#useNCSA">useNCSA</A>\r
+</UL>\r
+<P>\r
+  <HR>\r
+<CODE><A NAME="useNCSA">useNCSA</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    If this attribute is set to <B>true</B>, map specification files will be\r
+    interpreted in the\r
+    <A HREF="http://hoohoo.ncsa.uiuc.edu/docs/tutorials/imagemapping.html#First">NCSA\r
+    format</A>. Otherwise, they will be interpreted in the\r
+    <A HREF="http://www.w3.org/pub/WWW/Daemon/User/CGI/HTImageDoc.html#config">W3C\r
+    (CERN) format</A>.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is an editable\r
+    <A HREF="../api/w3c.jigsaw.resources.BooleanAttribute.html">BooleanAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to <B>false</B>.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<A HREF="mailto:anto@w3.org"><I>Antonio Ram&iacute;rez</I></A><I><BR>\r
+$Id: w3c.jigsaw.map.MapFileResource.html,v 1.1 1996/06/21 23:35:06 anto Exp\r
+$</I>\r
+</BODY></HTML>\r