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

org.deegree.ogcwebservices.wmps.configuration
Class WMPSConfigurationDocument

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.wmps.capabilities.WMPSCapabilitiesDocument
                      extended by org.deegree.ogcwebservices.wmps.configuration.WMPSConfigurationDocument
All Implemented Interfaces:
java.io.Serializable

public class WMPSConfigurationDocument
extends WMPSCapabilitiesDocument

Represents an XML configuration document for a deegree WMPS 1.0 instance, i.e. it consists of all sections common to an OGC WMS 1.1.1 capabilities document plus a deegree specific section named deegreeParams and... TODO

Version:
2.0, $Revision: 24061 $, $Date: 2010-05-04 10:51:44 +0200 (Di, 04 Mai 2010) $
Author:
Anup Deshmukh, last edited by: $Author: apoth $
See Also:
Serialized Form

Field Summary
protected static java.net.URI DEEGREEWPSNS
           
 
Fields inherited from class org.deegree.ogcwebservices.wmps.capabilities.WMPSCapabilitiesDocument
WMPSNS
 
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
WMPSConfigurationDocument()
           
 
Method Summary
 void createEmptyDocument()
          Creates a skeleton capabilities document that contains the mandatory elements only.
 WMPSConfiguration parseConfiguration()
          Creates a class representation of the document.
 WMPSDeegreeParams parseDeegreeParams(org.w3c.dom.Node root)
          Creates a class representation of the deegreeParams- section.
protected  Layer parseLayers(org.w3c.dom.Element layerElem, Layer parent)
          returns the layers offered by the WMS
protected  Style[] parseStyles(org.w3c.dom.Element layerElem)
          Returns a list of Style elements, parsing the style element
static void resetCapabilitiesCache()
           
 
Methods inherited from class org.deegree.ogcwebservices.wmps.capabilities.WMPSCapabilitiesDocument
getDCP, parseAttribution, parseAuthorityURLs, parseCapabilities, parseContactInfo, parseDataURL, parseDimensions, parseExtents, parseFeatureListURL, parseIdentifiers, parseLatLonBoundingBox, parseLayerBoundingBoxes, parseLegendURL, parseMetadataURLs, parseOperation, parseOperationsMetadata, parseScaleHint, parseServiceIdentification, parseServiceProvider, parseStyleSheetURL, parseStyleURL, parseUserDefinedSymbolization
 
Methods inherited from class org.deegree.owscommon.OWSCommonCapabilitiesDocument
getCodeType, getContraints, 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

DEEGREEWPSNS

protected static final java.net.URI DEEGREEWPSNS
Constructor Detail

WMPSConfigurationDocument

public WMPSConfigurationDocument()
Method Detail

resetCapabilitiesCache

public static void resetCapabilitiesCache()

createEmptyDocument

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

Overrides:
createEmptyDocument in class WMPSCapabilitiesDocument
Throws:
java.io.IOException
org.xml.sax.SAXException

parseConfiguration

public WMPSConfiguration parseConfiguration()
                                     throws InvalidConfigurationException
Creates a class representation of the document.

Returns:
class representation of the configuration document
Throws:
InvalidConfigurationException

parseDeegreeParams

public WMPSDeegreeParams parseDeegreeParams(org.w3c.dom.Node root)
                                     throws XMLParsingException,
                                            java.net.MalformedURLException
Creates a class representation of the deegreeParams- section.

Parameters:
root -
Returns:
WMPSDeegreeParams
Throws:
XMLParsingException
java.net.MalformedURLException

parseLayers

protected Layer parseLayers(org.w3c.dom.Element layerElem,
                            Layer parent)
                     throws XMLParsingException,
                            UnknownCRSException
returns the layers offered by the WMS

Overrides:
parseLayers in class WMPSCapabilitiesDocument
Parameters:
layerElem -
parent -
Returns:
Layer
Throws:
XMLParsingException
UnknownCRSException

parseStyles

protected Style[] parseStyles(org.w3c.dom.Element layerElem)
                       throws XMLParsingException
Returns a list of Style elements, parsing the style element

Overrides:
parseStyles in class WMPSCapabilitiesDocument
Parameters:
layerElem -
Returns:
Style[]
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