org.deegree.services.sos
Class SOService
java.lang.Object
org.deegree.services.sos.SOService
public class SOService
- extends java.lang.Object
This is the SOSService, a collection of ObservationOfferings.
This class represents the main entry point for access to observations. You can create a SOSService with the static
createService methods that takes a service configuration (see resources/schema/sos/sos_configuration.xsd and
resources/schema/example/conf/sos/sos_configuration.xml). An SOSService contains one or more ObservationOfferings,
which contain the actual observation data.
- Version:
- $Revision: 24363 $, $Date: 2010-05-12 15:44:13 +0200 (Mi, 12. Mai 2010) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: aionita $
Method Summary |
java.util.List<org.deegree.observation.model.Offering> |
getAllOfferings()
|
org.deegree.observation.model.Offering |
getOffering(java.lang.String name)
Get the named offering. |
boolean |
hasOffering(java.lang.String name)
Check if the SOS contains an offering. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOService
public SOService()
hasOffering
public boolean hasOffering(java.lang.String name)
- Check if the SOS contains an offering.
- Parameters:
name
- the name or id of the offering
- Returns:
- true if the offering exists
getOffering
public org.deegree.observation.model.Offering getOffering(java.lang.String name)
- Get the named offering.
- Parameters:
name
- the name or id of the offering
- Returns:
- the offering, or
null
if it doesn't exists
getAllOfferings
public java.util.List<org.deegree.observation.model.Offering> getAllOfferings()
- Returns:
- all offerings of this SOS configuration
Copyright © 2011. All Rights Reserved.