    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.

##

ATTR_MAP
ATTR_NCSA

##

MapResource()

##

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.
updateFileAttributes()
  This method parses the map file whenever it changes.

##

ATTR_MAP

     protected static int ATTR_MAP

ATTR_NCSA

     protected static int ATTR_NCSA

##

MapResource

     public MapResource()

##

updateFileAttributes

     public void updateFileAttributes()

  This method parses the map file whenever it changes.

  Overrides:
    updateFileAttributes in class FileResource

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