org.n52.oxf.wms.adapter
Class WMSAdapter

java.lang.Object
  extended by org.n52.oxf.wms.adapter.WMSAdapter
All Implemented Interfaces:
IServiceAdapter

public class WMSAdapter
extends Object
implements IServiceAdapter

This class enables the communication to a OGC WMS.
The Adapter is capable to handle WMS 1.0.0, 1.1.0, 1.1.1.

Author:
Theodor Foerster

Field Summary
static String OPERATION_GETCAPABILITIES
           
static String OPERATION_GETFEATUREINFO
           
static String OPERATION_GETMAP
           
static String SERVICE_TYPE
           
static String VERSION_100
           
static String VERSION_110
           
static String VERSION_111
           
 
Constructor Summary
WMSAdapter()
           
WMSAdapter(String version)
           
 
Method Summary
 OperationResult doOperation(Operation operation, ParameterContainer parameterContainer)
           
 String getDescription()
           
 String getResourceOperationName()
           
 String getServiceType()
           
 String[] getSupportedVersions()
           
 ServiceDescriptor initService(String url)
          if url is empty or null, a
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_TYPE

public static final String SERVICE_TYPE
See Also:
Constant Field Values

VERSION_100

public static final String VERSION_100
See Also:
Constant Field Values

VERSION_110

public static final String VERSION_110
See Also:
Constant Field Values

VERSION_111

public static final String VERSION_111
See Also:
Constant Field Values

OPERATION_GETMAP

public static final String OPERATION_GETMAP
See Also:
Constant Field Values

OPERATION_GETFEATUREINFO

public static final String OPERATION_GETFEATUREINFO
See Also:
Constant Field Values

OPERATION_GETCAPABILITIES

public static final String OPERATION_GETCAPABILITIES
See Also:
Constant Field Values
Constructor Detail

WMSAdapter

public WMSAdapter()

WMSAdapter

public WMSAdapter(String version)
Parameters:
version - the version of the service - use one of the static variables VERSION_100, VERSION_110 or VERSION_111.
Method Detail

initService

public ServiceDescriptor initService(String url)
                              throws ExceptionReport,
                                     OXFException
if url is empty or null, a

Specified by:
initService in interface IServiceAdapter
Throws:
ExceptionReport
OXFException
See Also:
IServiceAdapter.initService(String)

doOperation

public OperationResult doOperation(Operation operation,
                                   ParameterContainer parameterContainer)
                            throws ExceptionReport,
                                   OXFException
Specified by:
doOperation in interface IServiceAdapter
Throws:
ExceptionReport
OXFException

getDescription

public String getDescription()
Specified by:
getDescription in interface IServiceAdapter

getServiceType

public String getServiceType()
Specified by:
getServiceType in interface IServiceAdapter

getSupportedVersions

public String[] getSupportedVersions()
Specified by:
getSupportedVersions in interface IServiceAdapter

getResourceOperationName

public String getResourceOperationName()
Specified by:
getResourceOperationName in interface IServiceAdapter


Copyright © 2012-2013 52north.org. All Rights Reserved.