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

org.deegree.ogcwebservices.wfs.capabilities
Class WFSCapabilitiesDocument_1_0_0

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.ogcwebservices.wfs.capabilities.WFSCapabilitiesDocument_1_0_0
All Implemented Interfaces:
java.io.Serializable

public class WFSCapabilitiesDocument_1_0_0
extends OGCCapabilitiesDocument

Represents a capabilities document for an OGC WFS 1.0.0 compliant web service.

NOTE: The parsing methods produces beans that are designed to match the WFS 1.1.0 specification. Needs testing! The following things are still TBD:

Version:
$Revision: 11377 $, $Date: 2008-04-23 07:55:34 +0000 (Mi, 23 Apr 2008) $
Author:
Markus Schneider , last edited by: $Author: rbezema $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilitiesDocument
OGCNS
 
Fields inherited from class org.deegree.ogcbase.OGCDocument
GMLNS
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
WFSCapabilitiesDocument_1_0_0()
           
 
Method Summary
 void createEmptyDocument()
          Creates a skeleton capabilities document that contains the mandatory elements only.
 OperationsMetadata getCapability()
          Creates an object representation of the wfs:Capability section.
 FeatureTypeList getFeatureTypeList()
          Returns the object representation of the wfs:FeatureTypeList- section.
 WFSFeatureType getFeatureTypeType(org.w3c.dom.Element element)
          Returns the object representation for an element of type wfs:FeatureTypeType.
 FilterCapabilities getFilterCapabilities()
          Returns the object representation of the Filter_Capabilities section of the document.
 MetadataURL getMetadataURL(org.w3c.dom.Element element)
          Returns the object representation for an element node of type wfs:MetadataURLType.
 Operation[] getOperationsType(org.w3c.dom.Element element)
          Returns the object representation for an element node of type wfs:OperationsType.
 ServiceIdentification getService()
          Returns the class representation for the Service section of the document.
 OGCCapabilities parseCapabilities()
          Creates a class representation of the document.
 
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
 

Constructor Detail

WFSCapabilitiesDocument_1_0_0

public WFSCapabilitiesDocument_1_0_0()
Method Detail

createEmptyDocument

public void createEmptyDocument()
                         throws java.io.IOException,
                                org.xml.sax.SAXException
Creates a skeleton capabilities document that contains the mandatory elements only.

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

parseCapabilities

public OGCCapabilities parseCapabilities()
                                  throws InvalidCapabilitiesException
Creates a class representation of the document.

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

getService

public ServiceIdentification getService()
                                 throws XMLParsingException
Returns the class representation for the Service section of the document.

Returns:
class representation for the Service section
Throws:
XMLParsingException

getCapability

public OperationsMetadata getCapability()
                                 throws XMLParsingException
Creates an object representation of the wfs:Capability section.

Returns:
object representation of the wfs:Capability section
Throws:
XMLParsingException

getFeatureTypeList

public FeatureTypeList getFeatureTypeList()
                                   throws XMLParsingException
Returns the object representation of the wfs:FeatureTypeList- section.

Returns:
object representation of the wfs:FeatureTypeList section, may be empty (if missing)
Throws:
XMLParsingException

getFeatureTypeType

public WFSFeatureType getFeatureTypeType(org.w3c.dom.Element element)
                                  throws XMLParsingException
Returns the object representation for an element of type wfs:FeatureTypeType.

Parameters:
element -
Returns:
object representation for the element of type wfs:OperationsType
Throws:
XMLParsingException

getMetadataURL

public MetadataURL getMetadataURL(org.w3c.dom.Element element)
                           throws XMLParsingException
Returns the object representation for an element node of type wfs:MetadataURLType. TODO: Schema says base type is String, not URL!

Parameters:
element -
Returns:
object representation for the element of type wfs:MetadataURLType
Throws:
XMLParsingException

getOperationsType

public Operation[] getOperationsType(org.w3c.dom.Element element)
                              throws XMLParsingException
Returns the object representation for an element node of type wfs:OperationsType.

Parameters:
element -
Returns:
object representation for the element of type wfs:OperationsType
Throws:
XMLParsingException

getFilterCapabilities

public FilterCapabilities getFilterCapabilities()
                                         throws XMLParsingException
Returns the object representation of the Filter_Capabilities section of the document.

Returns:
class representation of the Filter_Capabilities section
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