org.deegree.protocol.wfs.capabilities
Class WFS100CapabilitiesAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.wfs.capabilities.WFS100CapabilitiesAdapter
All Implemented Interfaces:
OWSCapabilitiesAdapter, WFSCapabilitiesAdapter

public class WFS100CapabilitiesAdapter
extends XMLAdapter
implements WFSCapabilitiesAdapter

WFSCapabilitiesAdapter for documents that comply to the Markus Schneider, last edited by: $Author: mschneider $


Field Summary
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, rootElement, XLN_NS
 
Constructor Summary
WFS100CapabilitiesAdapter()
           
 
Method Summary
 List<WFSFeatureType> parseFeatureTypeList()
          Extracts the FeatureTypeList from the underlying XML document.
 Object parseFilterCapabilities()
          Extracts the FilterCapabilities from the underlying XML document.
 List<String> parseLanguages()
          Extracts the supported languages from the underlying XML document.
 OperationsMetadata parseOperationsMetadata()
          Extracts the OperationsMetadata from the underlying XML document.
 ServiceIdentification parseServiceIdentification()
          Extracts the ServiceIdentification from the underlying XML document.
 ServiceProvider parseServiceProvider()
          Extracts the ServiceProvider from the underlying XML document.
 
Methods inherited from class org.deegree.commons.xml.XMLAdapter
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBigInt, getNodeAsBoolean, getNodeAsDouble, getNodeAsFloat, getNodeAsInt, getNodeAsQName, getNodeAsString, getNodeAsURL, getNodeAsVersion, getNodes, getNodesAsQNames, getNodesAsStrings, getRequiredElement, getRequiredElements, getRequiredNode, getRequiredNodeAsBoolean, getRequiredNodeAsDouble, getRequiredNodeAsFloat, getRequiredNodeAsInteger, getRequiredNodeAsQName, getRequiredNodeAsString, getRequiredNodeAsURL, getRequiredNodeAsVersion, getRequiredNodes, getRootElement, getSchemas, getSystemId, hasSchemas, load, load, load, load, load, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WFS100CapabilitiesAdapter

public WFS100CapabilitiesAdapter()
Method Detail

parseServiceIdentification

public ServiceIdentification parseServiceIdentification()
                                                 throws XMLParsingException
Description copied from interface: OWSCapabilitiesAdapter
Extracts the ServiceIdentification from the underlying XML document.

Specified by:
parseServiceIdentification in interface OWSCapabilitiesAdapter
Returns:
service identification, can be null (if document does not contain such a section)
Throws:
XMLParsingException - if the ServiceIdentification section/information can not be parsed

parseServiceProvider

public ServiceProvider parseServiceProvider()
                                     throws XMLParsingException
Description copied from interface: OWSCapabilitiesAdapter
Extracts the ServiceProvider from the underlying XML document.

Specified by:
parseServiceProvider in interface OWSCapabilitiesAdapter
Returns:
service provider, can be null (if document does not contain such a section)
Throws:
XMLParsingException - if the ServiceProvider section/information can not be parsed

parseOperationsMetadata

public OperationsMetadata parseOperationsMetadata()
                                           throws XMLParsingException
Description copied from interface: OWSCapabilitiesAdapter
Extracts the OperationsMetadata from the underlying XML document.

Specified by:
parseOperationsMetadata in interface OWSCapabilitiesAdapter
Returns:
operations metadata, can be null (if document does not contain such a section)
Throws:
XMLParsingException - if the OperationsMetadata section/information can not be parsed

parseFeatureTypeList

public List<WFSFeatureType> parseFeatureTypeList()
Description copied from interface: WFSCapabilitiesAdapter
Extracts the FeatureTypeList from the underlying XML document. TODO return type

Specified by:
parseFeatureTypeList in interface WFSCapabilitiesAdapter
Returns:
feature type list, can be null (if the document does not contain such a section)

parseFilterCapabilities

public Object parseFilterCapabilities()
Description copied from interface: WFSCapabilitiesAdapter
Extracts the FilterCapabilities from the underlying XML document. TODO return type

Specified by:
parseFilterCapabilities in interface WFSCapabilitiesAdapter
Returns:
filter capabilities, can be null (if the document does not contain such a section)

parseLanguages

public List<String> parseLanguages()
                            throws XMLParsingException
Description copied from interface: OWSCapabilitiesAdapter
Extracts the supported languages from the underlying XML document.

Specified by:
parseLanguages in interface OWSCapabilitiesAdapter
Returns:
supported languages, can be null (if document does not contain such a section)
Throws:
XMLParsingException - if the Languages section/information can not be parsed


Copyright © 2011. All Rights Reserved.