forms
Class WMSRequest

java.lang.Object
  extended by forms.WMSRequest

public class WMSRequest
extends java.lang.Object

Class is a form WMS request.


Field Summary
 java.lang.String bbox
           
 java.lang.String cql_filter
           
 java.lang.String exceptions
           
 java.lang.String format
           
 java.lang.String height
           
 java.lang.String layer
           
 java.lang.String layers
           
 java.lang.String request
           
 java.lang.String service
           
 java.lang.String srs
           
 java.lang.String style
           
 java.util.List<java.lang.String> styleList
           
 java.lang.String styles
           
 java.lang.String tiled
           
 java.lang.String transparent
           
 java.lang.String version
           
 java.lang.String width
           
 
Constructor Summary
WMSRequest()
          Constructor of class.
 
Method Summary
 java.lang.String getBbox()
           
 java.lang.String getCql_filter()
           
 java.lang.String getExceptions()
           
 java.lang.String getFormat()
           
 java.lang.String getHeight()
           
 java.lang.String getLayer()
           
 java.lang.String getLayers()
           
 java.lang.String getRequest()
           
 java.lang.String getService()
           
 java.lang.String getSrs()
           
 java.lang.String getStyle()
           
 java.lang.String getStyles()
           
 java.lang.String getTiled()
           
 java.lang.String getTransparent()
           
 java.lang.String getVersion()
           
 java.lang.String getWidth()
           
 java.util.List<Layer> getWMSLayers()
           
 void setBbox(java.lang.String bbox)
          set boundary box in the request
 void setCql_filter(java.lang.String cql_filter)
          set cql filter in the request
 void setExceptions(java.lang.String exceptions)
          set output exception format
 void setFormat(java.lang.String format)
          set output data format
 void setHeight(java.lang.String height)
          set the height of response to the request
 void setLayer(java.lang.String layer)
          set layer in the request
 void setLayers(java.lang.String layers)
          set layers in the request
 void setRequest(java.lang.String request)
          set WMS request
 void setService(java.lang.String service)
          set service request
 void setSrs(java.lang.String srs)
          set projection geometry in the request
 void setStyle(java.lang.String style)
          set layer style in the request
 void setStyles(java.lang.String styles)
          set layers styles in the request
 void setTiled(java.lang.String tiled)
          set tiled
 void setTransparent(java.lang.String transparent)
          set transparent
 void setVersion(java.lang.String version)
          set WMS request version
 void setWidth(java.lang.String width)
          set the width of response to the request
 java.lang.String validate()
          validate form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

public java.lang.String service

version

public java.lang.String version

request

public java.lang.String request

srs

public java.lang.String srs

bbox

public java.lang.String bbox

format

public java.lang.String format

exceptions

public java.lang.String exceptions

layers

public java.lang.String layers

styles

public java.lang.String styles

layer

public java.lang.String layer

style

public java.lang.String style

width

public java.lang.String width

height

public java.lang.String height

tiled

public java.lang.String tiled

transparent

public java.lang.String transparent

cql_filter

public java.lang.String cql_filter

styleList

public java.util.List<java.lang.String> styleList
Constructor Detail

WMSRequest

public WMSRequest()
Constructor of class.

Method Detail

getService

public java.lang.String getService()
Returns:
request service

setService

public void setService(java.lang.String service)
set service request

Parameters:
service - request service

getVersion

public java.lang.String getVersion()
Returns:
WMS request version

setVersion

public void setVersion(java.lang.String version)
set WMS request version

Parameters:
version - WMS request version

getRequest

public java.lang.String getRequest()
Returns:
WMS request

setRequest

public void setRequest(java.lang.String request)
set WMS request

Parameters:
request - WMS request

getSrs

public java.lang.String getSrs()
Returns:
projection geometry in the request

setSrs

public void setSrs(java.lang.String srs)
set projection geometry in the request

Parameters:
srs - projection geometry in the request

getBbox

public java.lang.String getBbox()
Returns:
boundary box in the request

setBbox

public void setBbox(java.lang.String bbox)
set boundary box in the request

Parameters:
bbox - boundary box in the request

getFormat

public java.lang.String getFormat()
Returns:
output data format

setFormat

public void setFormat(java.lang.String format)
set output data format

Parameters:
format - output data format

getExceptions

public java.lang.String getExceptions()
Returns:
output exception format

setExceptions

public void setExceptions(java.lang.String exceptions)
set output exception format

Parameters:
exceptions - output exception format

getLayers

public java.lang.String getLayers()
Returns:
layers in the request

setLayers

public void setLayers(java.lang.String layers)
set layers in the request

Parameters:
layers - layers in the request

getStyles

public java.lang.String getStyles()
Returns:
layers styles in the request

setStyles

public void setStyles(java.lang.String styles)
set layers styles in the request

Parameters:
styles - layers styles in the request

getLayer

public java.lang.String getLayer()
Returns:
layer in the request

setLayer

public void setLayer(java.lang.String layer)
set layer in the request

Parameters:
layer - layer in the request

getStyle

public java.lang.String getStyle()
Returns:
layer style in the request

setStyle

public void setStyle(java.lang.String style)
set layer style in the request

Parameters:
style - layer style in the request

getWidth

public java.lang.String getWidth()
Returns:
The width of response to the request

setWidth

public void setWidth(java.lang.String width)
set the width of response to the request

Parameters:
width - The width of response to the request

getHeight

public java.lang.String getHeight()
Returns:
The height of response to the request

setHeight

public void setHeight(java.lang.String height)
set the height of response to the request

Parameters:
height - The height of response to the request

getTiled

public java.lang.String getTiled()
Returns:
if true, response as possible will be taken from the cache geoserver

setTiled

public void setTiled(java.lang.String tiled)
set tiled

Parameters:
tiled - if true, response as possible will be taken from the cache geoserver

getTransparent

public java.lang.String getTransparent()
Returns:
if true - the map background be transparent. Values are true or false.

setTransparent

public void setTransparent(java.lang.String transparent)
set transparent

Parameters:
transparent - if true - the map background be transparent. Values are true or false.

getCql_filter

public java.lang.String getCql_filter()
Returns:
cql filter in the request

setCql_filter

public void setCql_filter(java.lang.String cql_filter)
set cql filter in the request

Parameters:
cql_filter - cql filter in the request

validate

public java.lang.String validate()
validate form.

Returns:
If the test is successful return null, else return error.

getWMSLayers

public java.util.List<Layer> getWMSLayers()
                                   throws java.lang.Exception
Returns:
List list of layers
Throws:
java.lang.Exception - occurs if the request has no layers
See Also:
Layer