org.deegree.ogcwebservices.csw
Class XMLFactory_2_0_2
java.lang.Object
org.deegree.ogcbase.XMLFactory
org.deegree.owscommon.XMLFactory
org.deegree.ogcwebservices.csw.XMLFactory_2_0_0
org.deegree.ogcwebservices.csw.XMLFactory_2_0_2
public class XMLFactory_2_0_2
- extends XMLFactory_2_0_0
factory class for creating OGC CSW 2.0.2 compliant XML representation of a CatalogueCapabilities instance
- Version:
- $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth , Markus Schneider , last edited by: $Author: apoth $
Method Summary |
protected static void |
appendOperationsMetadata(org.w3c.dom.Element root,
OperationsMetadata operationsMetadata,
boolean capabilities)
Appends the DOM representation of the OperationsMetadata - section to the passed Element
. |
protected static void |
appendParameter(org.w3c.dom.Element root,
CatalogueOutputSchemaParameter parameter,
java.lang.String elementName,
boolean capabilities)
Appends the DOM representation of a OWSDomainType instance to the passed Element . |
protected static void |
appendParameter(org.w3c.dom.Element root,
CatalogueTypeNameSchemaParameter parameter,
java.lang.String elementName,
boolean capabilities)
Appends the DOM representation of a OWSDomainType instance to the passed Element . |
protected static void |
appendServiceIdentification(org.w3c.dom.Element root,
ServiceIdentification serviceIdentification)
Appends the DOM representation of the ServiceIdentification - section to the passed
Element . |
static CatalogueCapabilitiesDocument |
export(CatalogueCapabilities capabilities,
java.lang.String[] sections)
Exports a CatalogCapabilities instance as an XmlDocument . |
Methods inherited from class org.deegree.owscommon.XMLFactory |
appendAddress, appendDCP, appendException, appendMetadata, appendOperationsMetadata, appendOWSKeywords, appendOWSKeywords, appendParameter, appendPhone, 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_2_0_2
public XMLFactory_2_0_2()
export
public static CatalogueCapabilitiesDocument export(CatalogueCapabilities capabilities,
java.lang.String[] sections)
throws java.io.IOException
- Exports a
CatalogCapabilities
instance as an XmlDocument
.
- Parameters:
capabilities
- sections
- names of sections to be exported, may contain 'All'
- Returns:
- DOM representation of the
CatalogCapabilities
- Throws:
java.io.IOException
- if XML template could not be loaded
appendOperationsMetadata
protected static void appendOperationsMetadata(org.w3c.dom.Element root,
OperationsMetadata operationsMetadata,
boolean capabilities)
- Appends the DOM representation of the
OperationsMetadata
- section to the passed Element
.
- Parameters:
root
-
appendParameter
protected static void appendParameter(org.w3c.dom.Element root,
CatalogueOutputSchemaParameter parameter,
java.lang.String elementName,
boolean capabilities)
- Appends the DOM representation of a
OWSDomainType
instance to the passed Element
.
- Parameters:
root
- parameter
-
appendParameter
protected static void appendParameter(org.w3c.dom.Element root,
CatalogueTypeNameSchemaParameter parameter,
java.lang.String elementName,
boolean capabilities)
- Appends the DOM representation of a
OWSDomainType
instance to the passed Element
.
- Parameters:
root
- parameter
-
appendServiceIdentification
protected static void appendServiceIdentification(org.w3c.dom.Element root,
ServiceIdentification serviceIdentification)
- Appends the DOM representation of the
ServiceIdentification
- section to the passed
Element
.
- Parameters:
root
- serviceIdentification
-
- Throws:
XMLParsingException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org