org.deegree.services.sos
Class SOService
java.lang.Object
org.deegree.services.sos.SOService
public class SOService
- extends 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 (Wed, 12 May 2010) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: aionita $
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(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 Offering getOffering(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 List<Offering> getAllOfferings()
- Returns:
- all offerings of this SOS configuration
Copyright © 2011. All Rights Reserved.