|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wms.RemoteWMService
public class RemoteWMService
An instance of the class acts as a wrapper to a remote WMS.
Field Summary | |
---|---|
protected java.util.HashMap<java.lang.String,java.net.URL> |
addresses
|
protected WMSCapabilities |
capabilities
|
Constructor Summary | |
---|---|
RemoteWMService(WMSCapabilities capabilities)
Creates a new instance of RemoteWMService |
Method Summary | |
---|---|
java.lang.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 java.lang.String |
getInputStreamContent(java.io.InputStream is)
|
protected java.lang.Object |
handleDescribeLayer(DescribeLayer request)
|
protected java.lang.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 java.lang.Object |
handleGetLegendGraphic(GetLegendGraphic request)
|
protected java.lang.Object |
handleGetMap(GetMap request)
performs a GetMap request against the remote service. |
protected java.lang.Object |
handleGetStyles(GetStyles request)
|
protected java.lang.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 java.util.HashMap<java.lang.String,java.net.URL> addresses
protected WMSCapabilities capabilities
Constructor Detail |
---|
public RemoteWMService(WMSCapabilities capabilities)
capabilities
- Method Detail |
---|
public OGCCapabilities getCapabilities()
OGCWebService
getCapabilities
in interface OGCWebService
public java.lang.Object doService(OGCWebServiceRequest request) throws OGCWebServiceException
doService
in interface OGCWebService
request
- request (WMS, WCS, WFS, WCAS, WCTS, WTS, Gazetter) to perform
OGCWebServiceException
protected java.lang.Object handleGetMap(GetMap request) throws OGCWebServiceException
request
- GetMap request
OGCWebServiceException
- if the url in the request is null
protected java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getInputStreamContent(java.io.InputStream is) throws java.io.IOException
is
-
java.io.IOException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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