org.deegree.protocol.sos
Enum SOSConstants.SOSRequestType

java.lang.Object
  extended by java.lang.Enum<SOSConstants.SOSRequestType>
      extended by org.deegree.protocol.sos.SOSConstants.SOSRequestType
All Implemented Interfaces:
Serializable, Comparable<SOSConstants.SOSRequestType>
Enclosing class:
SOSConstants

public static enum SOSConstants.SOSRequestType
extends Enum<SOSConstants.SOSRequestType>

Enum type for discriminating between the different types of SensorObservationService (SOS) requests.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Enum Constant Summary
DescribeSensor
          Retrieve information on one or more sensors.
GetCapabilities
          Retrieve the capabilities of the service.
GetFeatureOfInterest
          Retrieve a featureOfInterest that was advertised in the observation offerings.
GetObservation
          Retrieve an observation.
 
Method Summary
static SOSConstants.SOSRequestType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SOSConstants.SOSRequestType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DescribeSensor

public static final SOSConstants.SOSRequestType DescribeSensor
Retrieve information on one or more sensors.


GetCapabilities

public static final SOSConstants.SOSRequestType GetCapabilities
Retrieve the capabilities of the service.


GetObservation

public static final SOSConstants.SOSRequestType GetObservation
Retrieve an observation.


GetFeatureOfInterest

public static final SOSConstants.SOSRequestType GetFeatureOfInterest
Retrieve a featureOfInterest that was advertised in the observation offerings.

Method Detail

values

public static SOSConstants.SOSRequestType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SOSConstants.SOSRequestType c : SOSConstants.SOSRequestType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SOSConstants.SOSRequestType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.