org.deegree.ogcwebservices.wms
Class XMLFactory
java.lang.Object
org.deegree.ogcbase.XMLFactory
org.deegree.owscommon.XMLFactory
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 $
Method Summary |
protected static void |
appendAttribution(org.w3c.dom.Element root,
Attribution attr)
|
protected static void |
appendAuthorityURL(org.w3c.dom.Element root,
AuthorityURL authorityURL)
|
protected static void |
appendCapabilityLayer(org.w3c.dom.Element root,
Layer layer)
|
protected static void |
appendCapabilityRequests(org.w3c.dom.Element root,
OperationsMetadata operationsMetadata)
|
protected static void |
appendContactInformation(org.w3c.dom.Element root,
ServiceProvider provider)
|
protected static void |
appendDataURL(org.w3c.dom.Element root,
DataURL dataURL)
|
protected static void |
appendDimension(org.w3c.dom.Element root,
Dimension dim)
|
protected static void |
appendExtent(org.w3c.dom.Element root,
Extent extent)
|
protected static void |
appendFeatureListURL(org.w3c.dom.Element root,
FeatureListURL featureListURL)
|
protected static void |
appendIdentifier(org.w3c.dom.Element root,
Identifier identifier)
|
protected static void |
appendLatLonBoundingBox(org.w3c.dom.Element root,
Envelope llBox)
|
protected static void |
appendLayerBoundingBox(org.w3c.dom.Element root,
LayerBoundingBox lBox)
|
protected static void |
appendLegendURL(org.w3c.dom.Element root,
LegendURL legendURL)
|
protected static void |
appendMetadataURL(org.w3c.dom.Element root,
MetadataURL metadataURL)
|
protected static void |
appendOnlineResource(org.w3c.dom.Element root,
java.net.URL url,
boolean appendFineChar)
|
protected static void |
appendOperation(org.w3c.dom.Element root,
Operation operation)
|
protected static void |
appendService(org.w3c.dom.Element root,
ServiceIdentification identification,
ServiceProvider provider)
|
protected static void |
appendStyle(org.w3c.dom.Element root,
Style style)
|
protected static void |
appendStyleSheetURL(org.w3c.dom.Element root,
StyleSheetURL styleSheetURL)
|
protected static void |
appendStyleURL(org.w3c.dom.Element root,
StyleURL styleURL)
|
protected static void |
appendUserDefinedSymbolization(org.w3c.dom.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 |
XMLFactory
public XMLFactory()
export
public static WMSCapabilitiesDocument export(WMSCapabilities capabilities)
throws java.io.IOException
- Exports a
WMSCapabilities
instance to a WMSCapabilitiesDocument
.
- Parameters:
capabilities
-
- Returns:
- DOM representation of the
WMSCapabilities
- Throws:
java.io.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 java.io.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:
java.io.IOException
appendUserDefinedSymbolization
protected static void appendUserDefinedSymbolization(org.w3c.dom.Element root,
UserDefinedSymbolization uds)
- Parameters:
root
- uds
-
appendService
protected static void appendService(org.w3c.dom.Element root,
ServiceIdentification identification,
ServiceProvider provider)
throws XMLParsingException
- Parameters:
root
- identification
- provider
-
- Throws:
XMLParsingException
appendContactInformation
protected static void appendContactInformation(org.w3c.dom.Element root,
ServiceProvider provider)
- Parameters:
root
- provider
-
appendCapabilityRequests
protected static void appendCapabilityRequests(org.w3c.dom.Element root,
OperationsMetadata operationsMetadata)
throws XMLParsingException
- Parameters:
root
- operationsMetadata
-
- Throws:
XMLParsingException
appendOperation
protected static void appendOperation(org.w3c.dom.Element root,
Operation operation)
- Parameters:
root
- operation
-
appendCapabilityLayer
protected static void appendCapabilityLayer(org.w3c.dom.Element root,
Layer layer)
throws XMLParsingException
- Parameters:
root
- layer
-
- Throws:
XMLParsingException
appendStyle
protected static void appendStyle(org.w3c.dom.Element root,
Style style)
- Parameters:
root
- style
-
appendStyleURL
protected static void appendStyleURL(org.w3c.dom.Element root,
StyleURL styleURL)
- Parameters:
root
- styleURL
-
appendStyleSheetURL
protected static void appendStyleSheetURL(org.w3c.dom.Element root,
StyleSheetURL styleSheetURL)
- Parameters:
root
- styleSheetURL
-
appendLegendURL
protected static void appendLegendURL(org.w3c.dom.Element root,
LegendURL legendURL)
- Parameters:
root
- legendURL
-
appendFeatureListURL
protected static void appendFeatureListURL(org.w3c.dom.Element root,
FeatureListURL featureListURL)
- Parameters:
root
- featureListURL
-
appendDataURL
protected static void appendDataURL(org.w3c.dom.Element root,
DataURL dataURL)
- Parameters:
root
- dataURL
-
appendMetadataURL
protected static void appendMetadataURL(org.w3c.dom.Element root,
MetadataURL metadataURL)
- Parameters:
root
- metadataURL
-
appendIdentifier
protected static void appendIdentifier(org.w3c.dom.Element root,
Identifier identifier)
- Parameters:
root
- identifier
-
appendAuthorityURL
protected static void appendAuthorityURL(org.w3c.dom.Element root,
AuthorityURL authorityURL)
- Parameters:
root
- authorityURL
-
appendAttribution
protected static void appendAttribution(org.w3c.dom.Element root,
Attribution attr)
- Parameters:
root
- attr
-
appendOnlineResource
protected static void appendOnlineResource(org.w3c.dom.Element root,
java.net.URL url,
boolean appendFineChar)
- Parameters:
root
- url
- appendFineChar
-
appendExtent
protected static void appendExtent(org.w3c.dom.Element root,
Extent extent)
- Parameters:
root
- extent
-
appendDimension
protected static void appendDimension(org.w3c.dom.Element root,
Dimension dim)
- Parameters:
root
- dim
-
appendLayerBoundingBox
protected static void appendLayerBoundingBox(org.w3c.dom.Element root,
LayerBoundingBox lBox)
- Parameters:
root
- lBox
-
appendLatLonBoundingBox
protected static void appendLatLonBoundingBox(org.w3c.dom.Element root,
Envelope llBox)
- Parameters:
root
- llBox
-
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org