deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wms
Class XMLFactory

java.lang.Object
  extended by org.deegree.ogcbase.XMLFactory
      extended by org.deegree.owscommon.XMLFactory
          extended by org.deegree.ogcwebservices.wms.XMLFactory

public class XMLFactory
extends XMLFactory

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.owscommon.XMLFactory
DEEGREECSWNS, OWSNS
 
Fields inherited from class org.deegree.ogcbase.XMLFactory
GMLNS, OGCNS, XLNNS
 
Constructor Summary
XMLFactory()
           
 
Method Summary
protected static void appendAttribution(Element root, Attribution attr)
           
protected static void appendAuthorityURL(Element root, AuthorityURL authorityURL)
           
protected static void appendCapabilityLayer(Element root, Layer layer)
           
protected static void appendCapabilityRequests(Element root, OperationsMetadata operationsMetadata)
           
protected static void appendContactInformation(Element root, ServiceProvider provider)
           
protected static void appendDataURL(Element root, DataURL dataURL)
           
protected static void appendDimension(Element root, Dimension dim)
           
protected static void appendExtent(Element root, Extent extent)
           
protected static void appendFeatureListURL(Element root, FeatureListURL featureListURL)
           
protected static void appendIdentifier(Element root, Identifier identifier)
           
protected static void appendLatLonBoundingBox(Element root, Envelope llBox)
           
protected static void appendLayerBoundingBox(Element root, LayerBoundingBox lBox)
           
protected static void appendLegendURL(Element root, LegendURL legendURL)
           
protected static void appendMetadataURL(Element root, MetadataURL metadataURL)
           
protected static void appendOnlineResource(Element root, URL url, boolean appendFineChar)
           
protected static void appendOperation(Element root, Operation operation)
           
protected static void appendService(Element root, ServiceIdentification identification, ServiceProvider provider)
           
protected static void appendStyle(Element root, Style style)
           
protected static void appendStyleSheetURL(Element root, StyleSheetURL styleSheetURL)
           
protected static void appendStyleURL(Element root, StyleURL styleURL)
           
protected static void appendUserDefinedSymbolization(Element root, UserDefinedSymbolization uds)
           
static WMSCapabilitiesDocument export(WMSCapabilities capabilities)
          Exports a WMSCapabilities instance to a WMSCapabilitiesDocument.
static WMSCapabilitiesDocument exportAs_1_1_1(WMSCapabilities_1_3_0 capabilities)
          This method exports a 1.3.0 capabilities document as 1.1.1, providing backward compatibility.
 
Methods inherited from class org.deegree.owscommon.XMLFactory
appendAddress, appendDCP, appendException, appendMetadata, appendOperationsMetadata, appendOWSKeywords, appendOWSKeywords, appendParameter, appendPhone, appendServiceIdentification, appendServiceProvider, export, exportExceptionReport, exportExceptionReportWFS, exportExceptionReportWFS100, exportNS, maybeSetAttribute
 
Methods inherited from class org.deegree.ogcbase.XMLFactory
appendCodeList, appendEnvelope, appendFeatureId, appendGeometry, appendInterval, appendKeywords, appendKeywords, appendLonLatEnvelope, appendOnlineResource, appendPropertyPath, appendSimpleLinkAttributes, appendTemporalDomain, appendTimePeriod, appendTimePosition, appendTimeResolution, appendTypedLiteral, appendValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFactory

public XMLFactory()
Method Detail

export

public static WMSCapabilitiesDocument export(WMSCapabilities capabilities)
                                      throws IOException
Exports a WMSCapabilities instance to a WMSCapabilitiesDocument.

Parameters:
capabilities -
Returns:
DOM representation of the WMSCapabilities
Throws:
IOException - if XML template could not be loaded

exportAs_1_1_1

public static WMSCapabilitiesDocument exportAs_1_1_1(WMSCapabilities_1_3_0 capabilities)
                                              throws IOException
This method exports a 1.3.0 capabilities document as 1.1.1, providing backward compatibility.

Parameters:
capabilities -
Returns:
the 1.1.1 document
Throws:
IOException

appendUserDefinedSymbolization

protected static void appendUserDefinedSymbolization(Element root,
                                                     UserDefinedSymbolization uds)
Parameters:
root -
uds -

appendService

protected static void appendService(Element root,
                                    ServiceIdentification identification,
                                    ServiceProvider provider)
                             throws XMLParsingException
Parameters:
root -
identification -
provider -
Throws:
XMLParsingException

appendContactInformation

protected static void appendContactInformation(Element root,
                                               ServiceProvider provider)
Parameters:
root -
provider -

appendCapabilityRequests

protected static void appendCapabilityRequests(Element root,
                                               OperationsMetadata operationsMetadata)
                                        throws XMLParsingException
Parameters:
root -
operationsMetadata -
Throws:
XMLParsingException

appendOperation

protected static void appendOperation(Element root,
                                      Operation operation)
Parameters:
root -
operation -

appendCapabilityLayer

protected static void appendCapabilityLayer(Element root,
                                            Layer layer)
                                     throws XMLParsingException
Parameters:
root -
layer -
Throws:
XMLParsingException

appendStyle

protected static void appendStyle(Element root,
                                  Style style)
Parameters:
root -
style -

appendStyleURL

protected static void appendStyleURL(Element root,
                                     StyleURL styleURL)
Parameters:
root -
styleURL -

appendStyleSheetURL

protected static void appendStyleSheetURL(Element root,
                                          StyleSheetURL styleSheetURL)
Parameters:
root -
styleSheetURL -

appendLegendURL

protected static void appendLegendURL(Element root,
                                      LegendURL legendURL)
Parameters:
root -
legendURL -

appendFeatureListURL

protected static void appendFeatureListURL(Element root,
                                           FeatureListURL featureListURL)
Parameters:
root -
featureListURL -

appendDataURL

protected static void appendDataURL(Element root,
                                    DataURL dataURL)
Parameters:
root -
dataURL -

appendMetadataURL

protected static void appendMetadataURL(Element root,
                                        MetadataURL metadataURL)
Parameters:
root -
metadataURL -

appendIdentifier

protected static void appendIdentifier(Element root,
                                       Identifier identifier)
Parameters:
root -
identifier -

appendAuthorityURL

protected static void appendAuthorityURL(Element root,
                                         AuthorityURL authorityURL)
Parameters:
root -
authorityURL -

appendAttribution

protected static void appendAttribution(Element root,
                                        Attribution attr)
Parameters:
root -
attr -

appendOnlineResource

protected static void appendOnlineResource(Element root,
                                           URL url,
                                           boolean appendFineChar)
Parameters:
root -
url -
appendFineChar -

appendExtent

protected static void appendExtent(Element root,
                                   Extent extent)
Parameters:
root -
extent -

appendDimension

protected static void appendDimension(Element root,
                                      Dimension dim)
Parameters:
root -
dim -

appendLayerBoundingBox

protected static void appendLayerBoundingBox(Element root,
                                             LayerBoundingBox lBox)
Parameters:
root -
lBox -

appendLatLonBoundingBox

protected static void appendLatLonBoundingBox(Element root,
                                              Envelope llBox)
Parameters:
root -
llBox -

deegree 2.3 (2010/04/09 10:10 build-4-official)

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