|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.OGCWebServiceRequest_Impl
org.deegree_impl.services.wms.protocol.WMSGetMapRequest_Impl
This interface describes the access to the parameters of a GeMap request. It is excpected that there are two kinds of request. The first is the 'normal' HTTP GET request with name-value-pair enconding and the second is a HTTP POST request containing a SLD.
Even it is possible to access the values of a HTTP GET request throught their bean accessor methods the request shall be mapped to a SLD data structure that is accessible using the getSLD().--------------------------------------------------------------------
Nested Class Summary | |
private static class |
WMSGetMapRequest_Impl.Layer_Impl
A Layer object. |
Nested classes inherited from class org.deegree.services.wms.protocol.WMSGetMapRequest |
WMSGetMapRequest.Layer |
Field Summary | |
private java.awt.Color |
bGColor
|
private GM_Envelope |
boundingBox
|
private java.util.ArrayList |
elevation
|
private java.lang.String |
exceptions
|
private java.lang.String |
format
|
private int |
height
|
private java.util.ArrayList |
layers
|
private java.util.ArrayList |
sampleDimension
|
private StyledLayerDescriptor |
sld
|
private java.net.URL |
sLD_URL
|
private java.lang.String |
srs
|
private java.lang.String |
time
|
private boolean |
transparency
|
private java.net.URL |
wFS_URL
|
private int |
width
|
Fields inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl |
id, request, service, vendorSpecificParameter, version |
Constructor Summary | |
(package private) |
WMSGetMapRequest_Impl(java.lang.String version,
java.lang.String id,
WMSGetMapRequest.Layer[] layers,
double[] elevation,
java.lang.String[] sampleDimension,
java.lang.String format,
int width,
int height,
java.lang.String srs,
GM_Envelope boundingBox,
boolean transparency,
java.awt.Color bGColor,
java.lang.String exceptions,
java.lang.String time,
java.net.URL sldURL,
StyledLayerDescriptor sld,
java.util.HashMap vendorSpecificParameter)
Creates a new WMSGetMapRequest_Impl object. |
Method Summary | |
void |
addElevation(double elevation)
adds the |
void |
addLayers(WMSGetMapRequest.Layer layers)
adds the |
void |
addSampleDimension(java.lang.String sampleDimension)
adds the |
static WMSGetMapRequest.Layer |
createLayer(java.lang.String name,
java.lang.String style)
creates a Layer object beacuse of the inner class construct. |
java.lang.String |
exportAsXML()
exports the request in its XML representation. |
java.awt.Color |
getBGColor()
The optional BGCOLOR parameter specifies the color to be used as the background of the map. |
java.lang.String |
getBGColorAsHex()
transforms the color of the request from java.awt.Color to the hexadecimal representation as in an OGC conform WMS-GetMap request (e.g. white == "0xffffff"). |
GM_Envelope |
getBoundingBox()
The required BBOX parameter allows a Client to request a particular Bounding Box. |
double[] |
getElevation()
Some geospatial information may be available at multiple elevations. |
java.lang.String |
getExceptions()
The optional EXCEPTIONS parameter states the manner in which errors are to be reported to the client. |
java.lang.String |
getFormat()
The FORMAT parameter specifies the output format of the response to an operation. |
int |
getHeight()
HEIGHT specifies the number of pixels between the minimum and maximum Y values. |
WMSGetMapRequest.Layer[] |
getLayers()
The required LAYERS parameter lists the map layer(s) to be returned by this GetMap request. |
java.lang.String |
getRequestParameter()
returns the parameter of a HTTP GET request. |
java.lang.String[] |
getSampleDimension()
Some geospatial information may be available at other dimensions (for example, satellite images in different wavelength bands). |
java.net.URL |
getSLD_URL()
URL of Styled Layer Descriptor (as defined in SLD Specification). |
java.lang.String |
getSrs()
The required SRS parameter states which Spatial Reference System applies to the values in the BBOX parameter. |
StyledLayerDescriptor |
getStyledLayerDescriptor()
returns the SLD the request is made of. |
java.lang.String |
getTime()
This specification is based on [ISO 8601:1988(E)]; it extends ISO 8601 in the following ways: It defines a syntax for expressing the start, end and periodicity of a data collection. |
boolean |
getTransparency()
The optional TRANSPARENT parameter specifies whether the map background is to be made transparent or not. |
java.net.URL |
getWFS_URL()
URL of Web Feature Service providing features to be symbolized using SLD. |
int |
getWidth()
WIDTH specifies the number of pixels to be used between the minimum and maximum X values (inclusive) in the BBOX parameter. |
void |
setBGColor(java.awt.Color bGColor)
sets |
void |
setBoundingBox(GM_Envelope boundingBox)
sets the |
void |
setElevation(double[] elevation)
sets the |
void |
setExceptions(java.lang.String exceptions)
sets |
void |
setFormat(java.lang.String format)
sets the format |
void |
setHeight(int height)
sets height |
void |
setLayers(WMSGetMapRequest.Layer[] layers)
sets the |
void |
setSampleDimension(java.lang.String[] sampleDimension)
sets the |
void |
setSLD_URL(java.net.URL sLD_URL)
sets |
void |
setSrs(java.lang.String srs)
sets the srs |
void |
setStyledLayerDescriptor(StyledLayerDescriptor sld)
sets the SLD the request is made of. |
void |
setTime(java.lang.String time)
sets the |
void |
setTransparency(boolean transparency)
sets |
void |
setWFS_URL(java.net.URL wFS_URL)
sets |
void |
setWidth(int width)
sets width |
java.lang.String |
toString()
|
Methods inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl |
getId, getRequest, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, putVendorSpecificParameter, setId, setRequest, setService, setVendorSpecificParameter, setVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.services.OGCWebServiceRequest |
getId, getRequest, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion |
Field Detail |
private java.util.ArrayList elevation
private java.util.ArrayList layers
private java.util.ArrayList sampleDimension
private java.awt.Color bGColor
private GM_Envelope boundingBox
private java.lang.String exceptions
private java.lang.String format
private java.lang.String srs
private java.lang.String time
private StyledLayerDescriptor sld
private java.net.URL sLD_URL
private java.net.URL wFS_URL
private boolean transparency
private int height
private int width
Constructor Detail |
WMSGetMapRequest_Impl(java.lang.String version, java.lang.String id, WMSGetMapRequest.Layer[] layers, double[] elevation, java.lang.String[] sampleDimension, java.lang.String format, int width, int height, java.lang.String srs, GM_Envelope boundingBox, boolean transparency, java.awt.Color bGColor, java.lang.String exceptions, java.lang.String time, java.net.URL sldURL, StyledLayerDescriptor sld, java.util.HashMap vendorSpecificParameter)
version
- layers
- elevation
- sampleDimension
- format
- width
- height
- srs
- boundingBox
- transparency
- bGColor
- exceptions
- time
- sldURL
- sld
- id
- vendorSpecificParameter
- Method Detail |
public java.lang.String getFormat()
getFormat
in interface WMSGetMapRequest
public void setFormat(java.lang.String format)
format
- the requested output-formatpublic WMSGetMapRequest.Layer[] getLayers()