deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.standard.sos.control
Class DescribePlatformListener

java.lang.Object
  extended by org.deegree.enterprise.control.AbstractListener
      extended by org.deegree.portal.standard.sos.control.AbstractSOSListener
          extended by org.deegree.portal.standard.sos.control.DescribePlatformListener
All Implemented Interfaces:
EventListener, WebListener

public class DescribePlatformListener
extends AbstractSOSListener

Listener for performing DescribePlatform requests against Sensor Observation Services.

Version:
0.1
Author:
Christian Heier

Constructor Summary
DescribePlatformListener()
           
 
Method Summary
protected  Object createData(RPCMethodCall mc, HashMap<String,Document> map)
          creates the result object to send to the next page from the parameters contained in the passed RPCMethodeCall and the Document array.
protected  String createRequest(RPCMethodCall mc)
          creates a SOS DescribePlatform request from the parameters contained in the passed RPCMethodeCall.
protected  void setNextPageData(Object o)
          sets the parameter as ServletRequest attribute to enable access to the result for the next page
protected  void validateRequest(RPCMethodCall mc)
          validates the request to be performed.
 
Methods inherited from class org.deegree.portal.standard.sos.control.AbstractSOSListener
actionPerformed, performRequest
 
Methods inherited from class org.deegree.enterprise.control.AbstractListener
getAlternativeNextPage, getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest, getReturnValue, gotoErrorPage, handle, setAlternativeNextPage, setDefaultAlternativeNextPage, setDefaultNextPage, setNextPage, setReturnValue, toModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescribePlatformListener

public DescribePlatformListener()
Method Detail

validateRequest

protected void validateRequest(RPCMethodCall mc)
                        throws SOSClientException
validates the request to be performed.

Specified by:
validateRequest in class AbstractSOSListener
Parameters:
mc - object containing the request to be performed
Throws:
SOSClientException

createRequest

protected String createRequest(RPCMethodCall mc)
                        throws SOSClientException
creates a SOS DescribePlatform request from the parameters contained in the passed RPCMethodeCall.

Specified by:
createRequest in class AbstractSOSListener
Parameters:
mc - the RPCMethodCall
Returns:
SOS DescribePlatform request
Throws:
SOSClientException

createData

protected Object createData(RPCMethodCall mc,
                            HashMap<String,Document> map)
                     throws SOSClientException
creates the result object to send to the next page from the parameters contained in the passed RPCMethodeCall and the Document array.

Specified by:
createData in class AbstractSOSListener
Parameters:
mc - the RPCMethodCall
map - the Document array
Returns:
the data.
Throws:
SOSClientException

setNextPageData

protected void setNextPageData(Object o)
Description copied from class: AbstractSOSListener
sets the parameter as ServletRequest attribute to enable access to the result for the next page

Specified by:
setNextPageData in class AbstractSOSListener
Parameters:
o - param/result

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org