org.deegree_impl.services.wms.capabilities
Class Request_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wms.capabilities.Request_Impl
All Implemented Interfaces:
Marshallable, Request

class Request_Impl
extends java.lang.Object
implements Request, Marshallable

The interface describes the acces to the available WMS operations. GetMap and GetCapabilities are mandatory. GetFeatureInfo, DescribeLayer, GetLegendGraphic, getStyles and PutStyles are optional.

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

Version:
$Revision: 1.10 $
Author:
Katharina Lupp, Markus Schneider

Field Summary
private  java.util.HashMap operations
           
 
Constructor Summary
(package private) Request_Impl()
          default constructor
(package private) Request_Impl(Operation[] operations)
          default constructor
 
Method Summary
 void addOperation(Operation operation)
          adds a operation to the request
 java.lang.String exportAsXML()
          Returns an XML representation of this object.
 Operation getOperation(int operationKey)
          returns the operation identified by the submitted key.
 Operation getOperation(java.lang.String operationName)
          returns the operation identified by the submitted operation name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

operations

private java.util.HashMap operations
Constructor Detail

Request_Impl

Request_Impl()
default constructor


Request_Impl

Request_Impl(Operation[] operations)
default constructor

Method Detail

getOperation

public Operation getOperation(int operationKey)
returns the operation identified by the submitted key. If the WMS doesn't support the desired operation null will be returned.

Specified by:
getOperation in interface Request

getOperation

public Operation getOperation(java.lang.String operationName)
returns the operation identified by the submitted operation name. If the WMS doesn't support the desired operation null will be returned.

Specified by:
getOperation in interface Request

addOperation

public void addOperation(Operation operation)
adds a operation to the request

Specified by:
addOperation in interface Request

toString

public java.lang.String toString()
Returns:

exportAsXML

public java.lang.String exportAsXML()
Returns an XML representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object