Class w3c.jigsaw.map.MapResource
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.map.MapResource

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.resources.FilteredResource
                                   |
                                   +----w3c.jigsaw.resources.FileResource
                                           |
                                           +----w3c.jigsaw.map.MapResource

public class MapResource
extends FileResource
Implements handling of image map requests. Understands both the NCSA and the W3C (CERN) format for map description files, with the "nosearch" extension for both.

Variable Index

 o ATTR_MAP
 o ATTR_NCSA

Constructor Index

 o MapResource()

Method Index

 o get(Request)
This method will try to get the two coordinates of the imagemap from the request query string, and will the appropriate redirection reply.
 o updateFileAttributes()
This method parses the map file whenever it changes.

Variables

 o ATTR_MAP
  protected static int ATTR_MAP
 o ATTR_NCSA
  protected static int ATTR_NCSA

Constructors

 o MapResource
  public MapResource()

Methods

 o updateFileAttributes
  public void updateFileAttributes()
This method parses the map file whenever it changes.
Overrides:
updateFileAttributes in class FileResource
 o get
  public Reply get(Request request) throws HTTPException
This method will try to get the two coordinates of the imagemap from the request query string, and will the appropriate redirection reply.
Parameters:
request - the HTTP request
Returns:
the HTTP reply
Overrides:
get in class FileResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index