gistoolkit.server.mapservice.clientextender
Class ClientExtender

java.lang.Object
  extended bygistoolkit.server.mapservice.SimpleExtensionService
      extended bygistoolkit.server.mapservice.clientextender.ClientExtender
All Implemented Interfaces:
ExtensionService

public class ClientExtender
extends SimpleExtensionService

Extender to display the client applet to the user so they can browse the web service.


Field Summary
 
Fields inherited from class gistoolkit.server.mapservice.SimpleExtensionService
SIMPLE_EXTENSION_SERVICE_NODE
 
Constructor Summary
ClientExtender()
          Creates new ClientExtender
 
Method Summary
 void doGet(Request inRequest, Response inResponse)
          Called when a request is sent to this service.
 java.lang.String getBannerPageImageFileName()
          Get the banner page image file name.
 void getImage(Request inRequest, Response inResponse)
          Retrieve an image from the images folder.
 void getJAR(Request inRequest, Response inResponse)
          Retrieve the client jar file from the images folder.
 java.lang.String getName()
          Called to identify this service.
 Node getNode()
          Called to get the configuration information for this service.
 void getService(Request inRequest, Response inResponse)
          Send a page with the requested service in it.
 void getXERCES(Request inRequest, Response inResponse)
          Retrieve the XERCES jar file from the images folder.
 void setBannerPageImageFileName(java.lang.String inFileName)
          set the banner page image file name.
 void setNode(Node inNode)
          Called to set the configuration information for this service.
static void showHeaderPage(Request inRequest, Response inResponse, java.lang.String inTitle)
          Show the heading page
static void showTailerPage(Request inRequest, Response inResponse)
          Show the trailer part of the page.
 
Methods inherited from class gistoolkit.server.mapservice.SimpleExtensionService
getFilters, getListFromString, getServer, parseBoundingBox, setFilter, setServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientExtender

public ClientExtender()
Creates new ClientExtender

Method Detail

setNode

public void setNode(Node inNode)
Called to set the configuration information for this service.

Specified by:
setNode in interface ExtensionService
Overrides:
setNode in class SimpleExtensionService

getNode

public Node getNode()
Called to get the configuration information for this service.

Specified by:
getNode in interface ExtensionService
Overrides:
getNode in class SimpleExtensionService

setBannerPageImageFileName

public void setBannerPageImageFileName(java.lang.String inFileName)
set the banner page image file name.


getBannerPageImageFileName

public java.lang.String getBannerPageImageFileName()
Get the banner page image file name.


getName

public java.lang.String getName()
Called to identify this service.

Specified by:
getName in interface ExtensionService
Specified by:
getName in class SimpleExtensionService

doGet

public void doGet(Request inRequest,
                  Response inResponse)
           throws java.lang.Exception
Called when a request is sent to this service.

Specified by:
doGet in interface ExtensionService
Specified by:
doGet in class SimpleExtensionService
Throws:
java.lang.Exception

getImage

public void getImage(Request inRequest,
                     Response inResponse)
              throws java.lang.Exception
Retrieve an image from the images folder.

Throws:
java.lang.Exception

getJAR

public void getJAR(Request inRequest,
                   Response inResponse)
            throws java.lang.Exception
Retrieve the client jar file from the images folder.

Throws:
java.lang.Exception

getXERCES

public void getXERCES(Request inRequest,
                      Response inResponse)
               throws java.lang.Exception
Retrieve the XERCES jar file from the images folder.

Throws:
java.lang.Exception

getService

public void getService(Request inRequest,
                       Response inResponse)
                throws java.lang.Exception
Send a page with the requested service in it.

Throws:
java.lang.Exception

showHeaderPage

public static void showHeaderPage(Request inRequest,
                                  Response inResponse,
                                  java.lang.String inTitle)
Show the heading page


showTailerPage

public static void showTailerPage(Request inRequest,
                                  Response inResponse)
Show the trailer part of the page.