deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.sos.capabilities
Class CapabilitiesDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.OGCDocument
          extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
              extended by org.deegree.owscommon.OWSCommonCapabilitiesDocument
                  extended by org.deegree.ogcwebservices.sos.capabilities.CapabilitiesDocument
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SOSConfigurationDocument

public class CapabilitiesDocument
extends OWSCommonCapabilitiesDocument

Read the SOS Capabilities form a XML File

Version:
1.0
Author:
Matthias Kulbe
See Also:
Serialized Form

Field Summary
protected static java.net.URI SCSNS
           
 
Fields inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument
ALL_NAME, CONTENTS_NAME, OGCNS, OPERATIONS_METADATA_NAME, OWSNS, SERVICE_IDENTIFICATION_NAME, SERVICE_PROVIDER_NAME
 
Fields inherited from class org.deegree.ogcbase.OGCDocument
GMLNS
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
CapabilitiesDocument()
           
 
Method Summary
 void createEmptyDocument()
          creates an empty Document from template file
 OperationsMetadata getOperationsMetadata()
          getOperationsMetadata
protected  java.util.ArrayList<Platform> getPlatformList()
          gets all platforms from the capabilities document
protected  java.util.ArrayList<Sensor> getSensorList()
          gets all sensors from the capabilities document
 OGCCapabilities parseCapabilities()
          Creates a class representation of the document.
 
Methods inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument
getCodeType, getContraints, getDCP, getDCPs, getKeywords, getKeywords, getOperation, getOWSDomainType, getServiceIdentification, getServiceProvider, getWGS84BoundingBoxType
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
parseAddress, parseMetadataLink, parsePhone, parseUpdateSequence, parseVersion
 
Methods inherited from class org.deegree.ogcbase.OGCDocument
parseCodeList, parseCodeListArray, parseExtendedPropertyPath, parseInterval, parseKeywords, parseKeywords, parseLonLatEnvelope, parseOnLineResource, parsePropertyPath, parseTimePeriod, parseTimePeriods, parseTimePositions, parseTimeSequence, parseTypedLiteral, parseValues
 
Methods inherited from class org.deegree.framework.xml.XMLFragment
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SCSNS

protected static final java.net.URI SCSNS
Constructor Detail

CapabilitiesDocument

public CapabilitiesDocument()
Method Detail

createEmptyDocument

public void createEmptyDocument()
                         throws java.io.IOException,
                                org.xml.sax.SAXException
creates an empty Document from template file

Throws:
java.io.IOException
org.xml.sax.SAXException

parseCapabilities

public OGCCapabilities parseCapabilities()
                                  throws InvalidCapabilitiesException
Description copied from class: OGCCapabilitiesDocument
Creates a class representation of the document.

Specified by:
parseCapabilities in class OGCCapabilitiesDocument
Returns:
class representation of the document
Throws:
InvalidCapabilitiesException

getOperationsMetadata

public OperationsMetadata getOperationsMetadata()
                                         throws XMLParsingException
getOperationsMetadata

Returns:
the bean
Throws:
XMLParsingException

getPlatformList

protected java.util.ArrayList<Platform> getPlatformList()
                                                 throws XMLParsingException
gets all platforms from the capabilities document

Returns:
the list of platforms
Throws:
XMLParsingException

getSensorList

protected java.util.ArrayList<Sensor> getSensorList()
                                             throws XMLParsingException
gets all sensors from the capabilities document

Throws:
XMLParsingException

deegree 2.5 (2011/06/29 09:44 build-8-official)

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