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

org.deegree.ogcwebservices.csw
Class XMLFactory_2_0_2

java.lang.Object
  extended by org.deegree.ogcbase.XMLFactory
      extended by org.deegree.owscommon.XMLFactory
          extended by org.deegree.ogcwebservices.csw.XMLFactory_2_0_0
              extended by 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 $

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.csw.XMLFactory_2_0_0
DEEGREECSW
 
Fields inherited from class org.deegree.owscommon.XMLFactory
DEEGREECSWNS, OWSNS
 
Fields inherited from class org.deegree.ogcbase.XMLFactory
GMLNS, LOG, OGCNS, XLNNS
 
Constructor Summary
XMLFactory_2_0_2()
           
 
Method Summary
protected static void appendOperationsMetadata(Element root, OperationsMetadata operationsMetadata, boolean capabilities)
          Appends the DOM representation of the OperationsMetadata- section to the passed Element.
protected static void appendParameter(Element root, CatalogueOutputSchemaParameter parameter, String elementName, boolean capabilities)
          Appends the DOM representation of a OWSDomainType instance to the passed Element.
protected static void appendParameter(Element root, CatalogueTypeNameSchemaParameter parameter, String elementName, boolean capabilities)
          Appends the DOM representation of a OWSDomainType instance to the passed Element.
protected static void appendServiceIdentification(Element root, ServiceIdentification serviceIdentification)
          Appends the DOM representation of the ServiceIdentification- section to the passed Element.
static CatalogueCapabilitiesDocument export(CatalogueCapabilities capabilities, String[] sections)
          Exports a CatalogCapabilities instance as an XmlDocument.
 
Methods inherited from class org.deegree.ogcwebservices.csw.XMLFactory_2_0_0
export
 
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
 

Constructor Detail

XMLFactory_2_0_2

public XMLFactory_2_0_2()
Method Detail

export

public static CatalogueCapabilitiesDocument export(CatalogueCapabilities capabilities,
                                                   String[] sections)
                                            throws 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:
IOException - if XML template could not be loaded

appendOperationsMetadata

protected static void appendOperationsMetadata(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(Element root,
                                      CatalogueOutputSchemaParameter parameter,
                                      String elementName,
                                      boolean capabilities)
Appends the DOM representation of a OWSDomainType instance to the passed Element.

Parameters:
root -
parameter -

appendParameter

protected static void appendParameter(Element root,
                                      CatalogueTypeNameSchemaParameter parameter,
                                      String elementName,
                                      boolean capabilities)
Appends the DOM representation of a OWSDomainType instance to the passed Element.

Parameters:
root -
parameter -

appendServiceIdentification

protected static void appendServiceIdentification(Element root,
                                                  ServiceIdentification serviceIdentification)
Appends the DOM representation of the ServiceIdentification- section to the passed Element.

Parameters:
root -
serviceIdentification -
Throws:
XMLParsingException

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