org.deegree.owscommon_1_1_0
Class XMLFactory
java.lang.Object
org.deegree.ogcbase.XMLFactory
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:$
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()
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.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net