|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wts.protocol.WTSProtocolFactory
----------------------------------------------------------------------
Constructor Summary | |
WTSProtocolFactory()
|
Method Summary | |
static WTSGetViewRequest |
createGetViewRequest(java.lang.String id,
java.util.HashMap model)
creates a WTSGetViewRequest from a HashMap that contains the request parameters as key-value-pairs. |
static WTSGetViewRequest |
createGetViewRequest(java.lang.String version,
java.lang.String id,
java.util.HashMap vendorSpecificParameter,
java.lang.String format,
WTSGetViewRequest.Layer[] layers,
java.lang.String crs,
int width,
int height,
java.awt.Color bgColor,
double aov,
double distance,
double pitch,
GM_Position poi,
double yaw,
java.lang.String exceptions,
java.util.Calendar date,
double scale,
java.lang.Object background,
java.lang.String[] dem,
WTSGetViewRequest.Layer[] ftCollections)
creates a WTSGetViewRequest from a set of parameters |
static WTSGetViewResponse |
createGetViewResponse(org.w3c.dom.Document exception,
OGCWebServiceRequest request)
creates a responseobject to a getViewRequest with a submitted error |
static WTSGetViewResponse |
createGetViewResponse(java.lang.Object view,
OGCWebServiceRequest request)
creates a responseobject to a getViewRequest |
static OGCWebServiceRequest |
createRequest(java.lang.String id,
java.util.HashMap model)
creates a request object from a model (key-value-pair encoding) of a WTS request and a unique ID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WTSProtocolFactory()
Method Detail |
public static OGCWebServiceRequest createRequest(java.lang.String id, java.util.HashMap model) throws WTSProtocolException
id
- ID of the requestmodel
- key-value-pair encoding of the request
WTSProtocolException
public static WTSGetViewRequest createGetViewRequest(java.lang.String id, java.util.HashMap model) throws WTSProtocolException
model
- HashMap containing the request parameters
WTSProtocolException
- will be thrown if mandatory parameter are missing or parameters don't contain valid valuespublic static WTSGetViewRequest createGetViewRequest(java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter, java.lang.String format, WTSGetViewRequest.Layer[] layers, java.lang.String crs, int width, int height, java.awt.Color bgColor, double aov, double distance, double pitch, GM_Position poi, double yaw, java.lang.String exceptions, java.util.Calendar date, double scale, java.lang.Object background, java.lang.String[] dem, WTSGetViewRequest.Layer[] ftCollections)
id
- request idvendorSpecificParameter
- vendorSpecificParameter parameter(s)format
- format the result of the request shall be returnedlayers
- layers that are requestedcrs
- coordinate reference system that scene's data are requested atwidth
- width scene in pixelheight
- height scene in pixelbgColor
- background color of the sceneaov
- viewers angle of viewdistance
- distance between viewer and target on an imaginery horizontal ground in height
of the targetpitch
- -poi
- target where the viewer is looking toyaw
- -exceptions
- format how to return exceptionsdate
- month, day and hour for which he scene shall be created (light-conditions)scale
- vertical scale of the dem and the objects in the scene (default = 1)background
- background used for scene (cloud images form example)dem
- name of the dem that shall be usedftCollections
- named feature collections that shall be superimposed on the dem
public static WTSGetViewResponse createGetViewResponse(java.lang.Object view, OGCWebServiceRequest request)
view
- created scenerequest
- request from which the scene was created
public static WTSGetViewResponse createGetViewResponse(org.w3c.dom.Document exception, OGCWebServiceRequest request)
exception
- exception that has been raised performing the requestrequest
- request that has been performed when exception raised
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |