gistoolkit.server.mapservice.adminextender
Class ShaderHandler

java.lang.Object
  extended bygistoolkit.server.mapservice.adminextender.ShaderHandler

public class ShaderHandler
extends java.lang.Object

Class for selecting amung the available shaders.


Field Summary
static java.lang.String SHADER_NAME_TAG
           
 
Constructor Summary
ShaderHandler()
          Creates new ShaderHandler
 
Method Summary
static void doGet(Request inRequest, Response inResponse, Server inServer, Service inService, LayerDefinition inLayer, Style inStyle)
           
static int rationalize(java.lang.String inString)
          Given a string, this will try to convert it to a integer between 0 and 255.
static void showShaderSelectPage(Request inRequest, Response inResponse, Server inServer, Service inService, LayerDefinition inLayer, Style inStyle, Shader inCurrentShader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHADER_NAME_TAG

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

ShaderHandler

public ShaderHandler()
Creates new ShaderHandler

Method Detail

doGet

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

showShaderSelectPage

public static void showShaderSelectPage(Request inRequest,
                                        Response inResponse,
                                        Server inServer,
                                        Service inService,
                                        LayerDefinition inLayer,
                                        Style inStyle,
                                        Shader inCurrentShader)

rationalize

public static int rationalize(java.lang.String inString)
Given a string, this will try to convert it to a integer between 0 and 255. If it fails, it will return 0.