|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.OGCWebService_Impl
org.deegree_impl.services.wts.WTService_Impl
-----------------------------------------------------------------------
Field Summary | |
protected GM_Surface[][] |
boxes
|
private WTSCapabilities |
capabilities
|
private OGCWebServiceClient |
client
|
private int |
count
|
private java.lang.Object[][] |
demTiles
|
private java.util.ArrayList |
feature
|
private OffScreenWTSRenderer |
renderer
|
private OGCWebServiceRequest |
request
|
private java.lang.Object[][][] |
textureTiles
|
Constructor Summary | |
WTService_Impl()
|
Method Summary | |
private Appearance |
createAppearance(java.awt.image.BufferedImage image)
creates the appearence for the scenes material/dem |
private static ViewPoint |
createViewPoint(WTSGetViewRequest request)
creates a ViewPoint from a WTSGetViewRequest |
void |
doService(OGCWebServiceEvent event)
the implementation of this method performs the handling of the passed OGCWebServiceEvent in an new own Thread. |
OGCWebServiceResponse |
doService(OGCWebServiceRequest request)
the method performs the handling of the passed OGCWebServiceEvent directly and returns the result to the calling class/method |
private void |
forceGetViewResponseToClient()
creates a response object and calls the write-method of the OGCWebServiceClient that is registered as receiver of the WTS-request. |
(package private) GM_Surface[][] |
getBoxes()
returns the boxes the requested area has been splitted up to |
private int[] |
getIndexFromId(java.lang.String id)
|
protected void |
handleException(org.w3c.dom.Document error)
handles the case when the result returned to the WTService through the write-method contains a error message DOM object |
protected void |
handleException(java.lang.String error)
handles the case when the result returned to the WTService through the write-method contains a error message string |
private void |
handleGetCapabilities(WTSGetCapabilitiesRequest request)
performs a get capabilities request by writing an XML representation of the capabilities to the receiver (destination) of the response of the request. |
private void |
handleGetView(WTSGetViewRequest request)
performs a get view request by initializing a WTSScene, forcing an offscreen rendering of the scene and writing the resulting image encapsulated into a GetViewResponse object to the receiver of the response. |
private void |
handleWCSResponse(WCSGetCoverageResponse response)
handles the response(s) from a WCS |
private void |
handleWFSEntities(GMLFeatureCollection gmlFc,
double scale)
handles the response to a WFS GetFeature request containing buildings |
private void |
handleWFSResponse(WFSGetFeatureResponse response)
handles the response(s) from a WFS |
private void |
handleWFSTINs(FeatureCollection fc,
double scale,
int[] index)
handles the response to a WFS GetFeature request containing DEM as TINs |
private void |
handleWMSResponse(WMSGetMapResponse response)
handles the response(s) from a WMS |
(package private) void |
setDEMTile(java.lang.Object tile,
int x,
int y)
|
void |
write(java.lang.Object result)
receives the results from the service calls and fills the texture and tiles matrices |
Methods inherited from class org.deegree_impl.services.OGCWebService_Impl |
getCapabilities |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected GM_Surface[][] boxes
private java.util.ArrayList feature
private OGCWebServiceClient client
private OGCWebServiceRequest request
private OffScreenWTSRenderer renderer
private WTSCapabilities capabilities
private java.lang.Object[][] demTiles
private java.lang.Object[][][] textureTiles
private int count
Constructor Detail |
public WTService_Impl()
Method Detail |
public void doService(OGCWebServiceEvent event) throws WebServiceException
OGCWebService
doService
in interface OGCWebService
event
-
WebServiceException
GM_Surface[][] getBoxes()
void setDEMTile(java.lang.Object tile, int x, int y)
public OGCWebServiceResponse doService(OGCWebServiceRequest request) throws WebServiceException
doService
in interface OGCWebService
request
- request (WMS, WCS, WFS, WCAS, WCTS, WTS, Gazetter) to perform
WebServiceException
private void handleGetCapabilities(WTSGetCapabilitiesRequest request)
private void handleGetView(WTSGetViewRequest request) throws java.lang.Exception
java.lang.Exception
private static ViewPoint createViewPoint(WTSGetViewRequest request)
public void write(java.lang.Object result)
write
in interface OGCWebServiceClient
result
- result of a service callprotected void handleException(java.lang.String error)
error
- error messageprotected void handleException(org.w3c.dom.Document error)
error
- error message containing Documentprivate void handleWCSResponse(WCSGetCoverageResponse response) throws java.lang.Exception
response
- response to a GetCoverage request
java.lang.Exception
private void handleWFSResponse(WFSGetFeatureResponse response) throws java.lang.Exception
response
- response to a GetFeature request
java.lang.Exception
private void handleWFSEntities(GMLFeatureCollection gmlFc, double scale) throws ConfigurationException
gmlFc
- feature collection; each feature represents a buildingscale
- scale of the buildings (1 = original scale)
ConfigurationException
private void handleWFSTINs(FeatureCollection fc, double scale, int[] index) throws ConfigurationException, GM_Exception
fc
- feature collection containing the TINsscale
- scale of the TINs (1 = original scale)index
- index of the tiles the result will be assigned to
ConfigurationException
GM_Exception
private void handleWMSResponse(WMSGetMapResponse response)
response
- response to a GetMap requestprivate int[] getIndexFromId(java.lang.String id)
id
-
private void forceGetViewResponseToClient()
private Appearance createAppearance(java.awt.image.BufferedImage image)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |