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

org.deegree.ogcwebservices.wms.configuration
Class WMSConfigurationDocument_1_3_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.wms.capabilities.WMSCapabilitiesDocument
                  extended by org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument_1_3_0
                      extended by org.deegree.ogcwebservices.wms.configuration.WMSConfigurationDocument_1_3_0
All Implemented Interfaces:
java.io.Serializable

public class WMSConfigurationDocument_1_3_0
extends WMSCapabilitiesDocument_1_3_0

WMSConfigurationDocument_1_3_0 is the parser class for a WMS 1.3.0 configuration document.

Since:
2.0
Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $
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
WMSConfigurationDocument_1_3_0()
           
 
Method Summary
 void createEmptyDocument()
          Creates a skeleton capabilities document that contains the mandatory elements only.
 WMSConfiguration_1_3_0 parseConfiguration()
          Added the prefix.
protected  AbstractDataSource[] parseDataSources(org.w3c.dom.Element layerElem, java.lang.String layerName, ScaleHint scaleHint)
           
 WMSDeegreeParams parseDeegreeParams(org.w3c.dom.Node root)
          Creates a class representation of the deegreeParams- section.
protected  ScaleHint parseDSScaleHint(org.w3c.dom.Element layerElem, ScaleHint scaleHint)
          parses the ScaleHint for a Datasource
protected  Layer parseLayers(org.w3c.dom.Element layerElem, Layer parent, ScaleHint scaleHint)
           
protected  Style[] parseStyles(org.w3c.dom.Element layerElem)
           
static void resetCapabilitiesCache()
           
 
Methods inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument_1_3_0
parseAttribution, parseAuthorityURLs, parseCapabilities, parseContactInfo, parseDataURL, parseDCP, parseDimensions, parseEX_GeographicBoundingBox, parseExceptionFormats, parseFeatureListURL, parseIdentifiers, parseLayerBoundingBoxes, parseLegendURL, parseMetadataURLs, parseOperation, parseOperationsMetadata, parseScaleHint, parseServiceIdentification, parseServiceProvider, parseStyleSheetURL, parseStyleURL
 
Methods inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilitiesDocument
parseExtents, parseLatLonBoundingBox, parseUserDefinedSymbolization
 
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

WMSConfigurationDocument_1_3_0

public WMSConfigurationDocument_1_3_0()
Method Detail

resetCapabilitiesCache

public static void resetCapabilitiesCache()

createEmptyDocument

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

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

parseConfiguration

public WMSConfiguration_1_3_0 parseConfiguration()
                                          throws InvalidConfigurationException,
                                                 XMLParsingException
Added the prefix.

Returns:
the parsed configuration
Throws:
InvalidConfigurationException
XMLParsingException

parseDeegreeParams

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

Parameters:
root -
Returns:
the deegree params
Throws:
XMLParsingException
java.net.MalformedURLException

parseLayers

protected Layer parseLayers(org.w3c.dom.Element layerElem,
                            Layer parent,
                            ScaleHint scaleHint)
                     throws XMLParsingException,
                            UnknownCRSException
Overrides:
parseLayers in class WMSCapabilitiesDocument_1_3_0
Returns:
the layer created from the given element
Throws:
XMLParsingException
UnknownCRSException

parseStyles

protected Style[] parseStyles(org.w3c.dom.Element layerElem)
                       throws XMLParsingException
Overrides:
parseStyles in class WMSCapabilitiesDocument_1_3_0
Returns:
the styles
Throws:
XMLParsingException

parseDataSources

protected AbstractDataSource[] parseDataSources(org.w3c.dom.Element layerElem,
                                                java.lang.String layerName,
                                                ScaleHint scaleHint)
                                         throws XMLParsingException
Parameters:
layerElem -
Returns:
the data sources
Throws:
XMLParsingException

parseDSScaleHint

protected ScaleHint parseDSScaleHint(org.w3c.dom.Element layerElem,
                                     ScaleHint scaleHint)
                              throws XMLParsingException
parses the ScaleHint for a Datasource

Parameters:
layerElem -
scaleHint -
Returns:
the ScaleHint for the Datasource
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