| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wms.RemoteWMService
public class RemoteWMService
An instance of the class acts as a wrapper to a remote WMS.
| Field Summary | |
|---|---|
protected  HashMap<String,URL> | 
addresses
 | 
protected  WMSCapabilities | 
capabilities
 | 
| Constructor Summary | |
|---|---|
RemoteWMService(WMSCapabilities capabilities)
Creates a new instance of RemoteWMService  | 
|
| Method Summary | |
|---|---|
 Object | 
doService(OGCWebServiceRequest request)
the method performs the handling of the passed OGCWebServiceEvent directly and returns the result to the calling class/method  | 
 OGCCapabilities | 
getCapabilities()
returns the capabilities of a OGC web service  | 
protected  String | 
getInputStreamContent(InputStream is)
 | 
protected  Object | 
handleDescribeLayer(DescribeLayer request)
 | 
protected  Object | 
handleFeatureInfo(GetFeatureInfo request)
reads feature infos from the remote WMS by performing a FeatureInfo request against it.  | 
protected  WMSCapabilities | 
handleGetCapabilities(WMSGetCapabilities request)
reads the capabilities from the remote WMS by performing a GetCapabilities request against it.  | 
protected  Object | 
handleGetLegendGraphic(GetLegendGraphic request)
 | 
protected  Object | 
handleGetMap(GetMap request)
performs a GetMap request against the remote service.  | 
protected  Object | 
handleGetStyles(GetStyles request)
 | 
protected  Object | 
handlePutStyles(PutStyles request)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected HashMap<String,URL> addresses
protected WMSCapabilities capabilities
| Constructor Detail | 
|---|
public RemoteWMService(WMSCapabilities capabilities)
capabilities - | Method Detail | 
|---|
public OGCCapabilities getCapabilities()
OGCWebService
getCapabilities in interface OGCWebService
public Object doService(OGCWebServiceRequest request)
                 throws OGCWebServiceException
doService in interface OGCWebServicerequest - request (WMS, WCS, WFS, WCAS, WCTS, WTS, Gazetter) to perform
OGCWebServiceException
protected Object handleGetMap(GetMap request)
                       throws OGCWebServiceException
request - GetMap request
OGCWebServiceException - if the url in the request is null
protected Object handleFeatureInfo(GetFeatureInfo request)
                            throws OGCWebServiceException
request - feature info request
OGCWebServiceException - if the request could not be excuted correctly.
protected WMSCapabilities handleGetCapabilities(WMSGetCapabilities request)
                                         throws OGCWebServiceException
request - capabilities request
OGCWebServiceException - if the request could not be executed correctly.
protected Object handleGetStyles(GetStyles request)
                          throws OGCWebServiceException
request - get styles request (WMS 1.1.1 - SLD)
null
OGCWebServiceException - if the url in the request is null
protected Object handlePutStyles(PutStyles request)
                          throws OGCWebServiceException
request - put styles request (WMS 1.1.1 - SLD)
null
OGCWebServiceException - if the url in the request is null
protected Object handleDescribeLayer(DescribeLayer request)
                              throws OGCWebServiceException
request - describe layer request (WMS 1.1.1 - SLD)
null
OGCWebServiceException - if the url in the request is null
protected Object handleGetLegendGraphic(GetLegendGraphic request)
                                 throws OGCWebServiceException
request - describe layer request (WMS 1.1.1 - SLD)
null
OGCWebServiceException - if the url in the request is null
protected String getInputStreamContent(InputStream is)
                                throws IOException
is - 
IOException
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org