gistoolkit.server.mapservice.adminextender.labelerhandlers
Class SimpleLabelerHandler

java.lang.Object
  extended bygistoolkit.server.mapservice.adminextender.labelerhandlers.SimpleLabelerHandler

public class SimpleLabelerHandler
extends java.lang.Object

Class to handle the HTML editing of simple labelers.


Field Summary
static java.lang.String SIMPLE_LABELER_ACTION_TAG
           
static java.lang.String SIMPLE_LABELER_ACTION_UPDATE
           
static java.lang.String SIMPLE_LABELER_ALLOW_DUPLICATE_TAG
           
static java.lang.String SIMPLE_LABELER_ALLOW_OVERLAPS_TAG
           
static java.lang.String SIMPLE_LABELER_LABEL_COLUMN_TAG
           
static java.lang.String SIMPLE_LABELER_LABEL_DIRECTION_TAG
           
static java.lang.String SIMPLE_LABELER_LABEL_DISTANCE_TAG
           
 
Constructor Summary
SimpleLabelerHandler()
          Creates a new instance of SimpleLabelerHandler
 
Method Summary
static void doGet(Request inRequest, Response inResponse, Server inServer, Service inService, LayerDefinition inLayer, Style inStyle, Labeler inLabeler, int inLabelerIndex)
          Handle requests for this labeler.
static void handleAction(Request inRequest, Response inResponse, Server inServer, Service inService, LayerDefinition inLayer, Style inStyle, Labeler inLabeler, int inLabelerIndex, java.lang.String inAction)
           
static void showSimpleLabelerPage(Request inRequest, Response inResponse, Server inServer, Service inService, LayerDefinition inLayer, Style inStyle, Labeler inLabeler, int inLabelerIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_LABELER_ACTION_TAG

public static final java.lang.String SIMPLE_LABELER_ACTION_TAG
See Also:
Constant Field Values

SIMPLE_LABELER_ACTION_UPDATE

public static final java.lang.String SIMPLE_LABELER_ACTION_UPDATE
See Also:
Constant Field Values

SIMPLE_LABELER_LABEL_COLUMN_TAG

public static final java.lang.String SIMPLE_LABELER_LABEL_COLUMN_TAG
See Also:
Constant Field Values

SIMPLE_LABELER_LABEL_DIRECTION_TAG

public static final java.lang.String SIMPLE_LABELER_LABEL_DIRECTION_TAG
See Also:
Constant Field Values

SIMPLE_LABELER_LABEL_DISTANCE_TAG

public static final java.lang.String SIMPLE_LABELER_LABEL_DISTANCE_TAG
See Also:
Constant Field Values

SIMPLE_LABELER_ALLOW_DUPLICATE_TAG

public static final java.lang.String SIMPLE_LABELER_ALLOW_DUPLICATE_TAG
See Also:
Constant Field Values

SIMPLE_LABELER_ALLOW_OVERLAPS_TAG

public static final java.lang.String SIMPLE_LABELER_ALLOW_OVERLAPS_TAG
See Also:
Constant Field Values
Constructor Detail

SimpleLabelerHandler

public SimpleLabelerHandler()
Creates a new instance of SimpleLabelerHandler

Method Detail

doGet

public static void doGet(Request inRequest,
                         Response inResponse,
                         Server inServer,
                         Service inService,
                         LayerDefinition inLayer,
                         Style inStyle,
                         Labeler inLabeler,
                         int inLabelerIndex)
                  throws java.lang.Exception
Handle requests for this labeler.

Throws:
java.lang.Exception

showSimpleLabelerPage

public static void showSimpleLabelerPage(Request inRequest,
                                         Response inResponse,
                                         Server inServer,
                                         Service inService,
                                         LayerDefinition inLayer,
                                         Style inStyle,
                                         Labeler inLabeler,
                                         int inLabelerIndex)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

handleAction

public static void handleAction(Request inRequest,
                                Response inResponse,
                                Server inServer,
                                Service inService,
                                LayerDefinition inLayer,
                                Style inStyle,
                                Labeler inLabeler,
                                int inLabelerIndex,
                                java.lang.String inAction)
                         throws java.lang.Exception
Throws:
java.lang.Exception