org.deegree.services.wms.capabilities
Interface Operation

All Known Implementing Classes:
Operation_Impl

public interface Operation

The interface defines the differt types of operations that may be performed by a map server, their access addresses and formats.

----------------------------------------------------------------------

Version:
2002-03-08
Author:
Andreas Poth

Field Summary
static int CAPABILITIES
           
static java.lang.String CAPABILITIES_NAME
           
static int DESCRIBELAYER
           
static java.lang.String DESCRIBELAYER_NAME
           
static int FEATUREINFO
           
static java.lang.String FEATUREINFO_NAME
           
static int GETCAPABILITIES
           
static java.lang.String GETCAPABILITIES_NAME
           
static int GETFEATUREINFO
           
static java.lang.String GETFEATUREINFO_NAME
           
static int GETLEGENDGRAPHIC
           
static java.lang.String GETLEGENDGRAPHIC_NAME
           
static int GETMAP
           
static java.lang.String GETMAP_NAME
           
static int GETSCALEBAR
           
static java.lang.String GETSCALEBAR_NAME
           
static int GETSTYLES
           
static java.lang.String GETSTYLES_NAME
           
static int MAP
           
static java.lang.String MAP_NAME
           
static int PUTSTYLES
           
static java.lang.String PUTSTYLES_NAME
           
static int UNKNOWN
           
static java.lang.String UNKNOWN_NAME
           
 
Method Summary
 void addDCPType(DCPType dCPType)
          adds the available Distributed Computing Platforms (DCPs) for a operation.
 void addFormat(Format format)
          Adds a format to the Operation's formats (if it is not defined yet).
 DCPType[] getDCPTypes()
          returns the available Distributed Computing Platforms (DCPs) for a operation.
 Format getFormat(java.lang.String format)
          Returns the specified Format (currently as a String), if the Operation supports it, else null.
 Format[] getFormats()
          returns the formats a operation is able to return its results
 java.lang.String getOperationName()
          returns the name of the operation defined above.
 int getOperationType()
          returns the operation type defnied above.
 java.lang.String getResponsibleClass()
          returns the name of the class that's responsible for handling the operation (request).
 

Field Detail

GETCAPABILITIES

public static final int GETCAPABILITIES
See Also:
Constant Field Values

CAPABILITIES

public static final int CAPABILITIES
See Also:
Constant Field Values

GETMAP

public static final int GETMAP
See Also:
Constant Field Values

MAP

public static final int MAP
See Also:
Constant Field Values

GETFEATUREINFO

public static final int GETFEATUREINFO
See Also:
Constant Field Values

FEATUREINFO

public static final int FEATUREINFO
See Also:
Constant Field Values

DESCRIBELAYER

public static final int DESCRIBELAYER
See Also:
Constant Field Values

GETLEGENDGRAPHIC

public static final int GETLEGENDGRAPHIC
See Also:
Constant Field Values

GETSTYLES

public static final int GETSTYLES
See Also:
Constant Field Values

PUTSTYLES

public static final int PUTSTYLES
See Also:
Constant Field Values

GETSCALEBAR

public static final int GETSCALEBAR
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

GETCAPABILITIES_NAME

public static final java.lang.String GETCAPABILITIES_NAME
See Also:
Constant Field Values

CAPABILITIES_NAME

public static final java.lang.String CAPABILITIES_NAME
See Also:
Constant Field Values

GETMAP_NAME

public static final java.lang.String GETMAP_NAME
See Also:
Constant Field Values

MAP_NAME

public static final java.lang.String MAP_NAME
See Also:
Constant Field Values

GETFEATUREINFO_NAME

public static final java.lang.String GETFEATUREINFO_NAME
See Also:
Constant Field Values

FEATUREINFO_NAME

public static final java.lang.String FEATUREINFO_NAME
See Also:
Constant Field Values

DESCRIBELAYER_NAME

public static final java.lang.String DESCRIBELAYER_NAME
See Also:
Constant Field Values

GETLEGENDGRAPHIC_NAME

public static final java.lang.String GETLEGENDGRAPHIC_NAME
See Also:
Constant Field Values

GETSTYLES_NAME

public static final java.lang.String GETSTYLES_NAME
See Also:
Constant Field Values

PUTSTYLES_NAME

public static final java.lang.String PUTSTYLES_NAME
See Also:
Constant Field Values

GETSCALEBAR_NAME

public static final java.lang.String GETSCALEBAR_NAME
See Also:
Constant Field Values

UNKNOWN_NAME

public static final java.lang.String UNKNOWN_NAME
See Also:
Constant Field Values
Method Detail

getFormats

public Format[] getFormats()
returns the formats a operation is able to return its results


getFormat

public Format getFormat(java.lang.String format)
Returns the specified Format (currently as a String), if the Operation supports it, else null.

Parameters:
format - the name of the Operation to look u
Returns:
the name of the Operation, null if it is not supported

addFormat

public void addFormat(Format format)
Adds a format to the Operation's formats (if it is not defined yet).

Parameters:
format - the name of the format to add

getDCPTypes

public DCPType[] getDCPTypes()
returns the available Distributed Computing Platforms (DCPs) for a operation. At present, only HTTP (GET & POST) is defined.


addDCPType

public void addDCPType(DCPType dCPType)
adds the available Distributed Computing Platforms (DCPs) for a operation. At present, only HTTP (GET & POST) is defined.


getOperationType

public int getOperationType()
returns the operation type defnied above. If the operation isn't known Operation.UNKNOWN (-1) will be returned.


getOperationName

public java.lang.String getOperationName()
returns the name of the operation defined above.


getResponsibleClass

public java.lang.String getResponsibleClass()
returns the name of the class that's responsible for handling the operation (request). Defaults are: For GetCapabilities operation no handler is required.