deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.owscommon_1_1_0
Class XMLFactory

java.lang.Object
  extended by org.deegree.ogcbase.XMLFactory
      extended by org.deegree.owscommon_1_1_0.XMLFactory

public class XMLFactory
extends XMLFactory

The XMLFactory is a convenience class, which exports ows-common 1.1.0 beans to their xml representation. representation.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$

Field Summary
 
Fields inherited from class org.deegree.ogcbase.XMLFactory
GMLNS, LOG, OGCNS, XLNNS
 
Constructor Summary
XMLFactory()
           
 
Method Summary
protected  void appendContactInfo(Element root, ContactInfo contactInfo)
           
protected  void appendDomainType(Element domainTypeElement, DomainType domainType)
           
protected  void appendOperations(Element root, List<Operation> operations)
           
protected  void appendOperationsMetadata(Element capabilitiesElement, OperationsMetadata operationsMetadata)
           
protected  void appendServiceContact(Element root, ServiceContact serviceContact)
           
protected  void appendServiceIdentification(Element capabilitiesElement, ServiceIdentification serviceIdentification)
           
protected  void appendServiceProvider(Element capabilitiesElement, ServiceProvider serviceProvider)
           
 void exportCapabilities(Element root, OWSCommonCapabilities capabilities)
          make an xml representation of given capabilities bean.
 
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

exportCapabilities

public void exportCapabilities(Element root,
                               OWSCommonCapabilities capabilities)
make an xml representation of given capabilities bean.

Parameters:
root - to export to.
capabilities - to export

appendServiceIdentification

protected void appendServiceIdentification(Element capabilitiesElement,
                                           ServiceIdentification serviceIdentification)
Parameters:
capabilitiesElement - to export to if null nothing will be done.
serviceIdentification - to append if null nothing will be done (optional).

appendServiceProvider

protected void appendServiceProvider(Element capabilitiesElement,
                                     ServiceProvider serviceProvider)
Parameters:
capabilitiesElement - to export to if null nothing will be done.
serviceProvider - to append if null nothing will be done (optional).

appendServiceContact

protected void appendServiceContact(Element root,
                                    ServiceContact serviceContact)
Parameters:
root - to export to if null nothing will be done.
serviceContact - to append if null nothing will be done (optional).

appendContactInfo

protected void appendContactInfo(Element root,
                                 ContactInfo contactInfo)
Parameters:
root - (usually a serviceContact) to export to if null nothing will be done.
contactInfo - to append if null nothing will be done (optional).

appendOperationsMetadata

protected void appendOperationsMetadata(Element capabilitiesElement,
                                        OperationsMetadata operationsMetadata)
Parameters:
capabilitiesElement - to export to if null nothing will be done.
operationsMetadata - to append if null nothing will be done (optional).

appendOperations

protected void appendOperations(Element root,
                                List<Operation> operations)
Parameters:
root - to append to.
operations - may not be null
Throws:
IllegalArgumentException - if the list of operations < 2 or null.

appendDomainType

protected void appendDomainType(Element domainTypeElement,
                                DomainType domainType)
Parameters:
domainTypeElement - to append the domainttype element to.
domainType - to append.

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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