|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcbase.XMLFactory
org.deegree.owscommon_1_1_0.XMLFactory
public class XMLFactory
The XMLFactory is a convenience class, which exports ows-common 1.1.0 beans to their xml
representation.
| Field Summary |
|---|
| Fields inherited from class org.deegree.ogcbase.XMLFactory |
|---|
GMLNS, LOG, OGCNS, XLNNS |
| Constructor Summary | |
|---|---|
XMLFactory()
|
|
| Method Summary | |
|---|---|
protected void |
appendAbstracts(Element root,
List<String> abstracts)
Appends the given abstracts to the given root. |
protected void |
appendBasicIdentification(Element root,
BasicIdentification basicIdentification)
Appends the given basicIdentification to the given root. |
protected void |
appendContactInfo(Element root,
ContactInfo contactInfo)
|
protected void |
appendDomainType(Element domainTypeElement,
DomainType domainType)
|
protected static void |
appendException(Element root,
OGCWebServiceException exception)
Appends an xml representation of an OGCWebServiceException to the given Element. |
protected void |
appendKeywords(Element root,
List<Keywords> keywords)
Appends the given keywords to the given root. |
void |
appendManifest(Element root,
Manifest manifestType)
Exports the manifest type to its dom-xml representation. |
protected void |
appendMetadataAttribs(Element root,
List<Metadata> metadatasAttribs)
Appends the given metadata attributes to the given root. |
protected void |
appendOperations(Element root,
List<Operation> operations)
|
void |
appendOperationsMetadata(Element capabilitiesElement,
OperationsMetadata operationsMetadata)
|
protected void |
appendReference(Element root,
Reference reference)
Appends the given reference to the given root. |
protected void |
appendServiceContact(Element root,
ServiceContact serviceContact)
|
protected void |
appendServiceIdentification(Element capabilitiesElement,
ServiceIdentification serviceIdentification)
|
protected void |
appendServiceProvider(Element capabilitiesElement,
ServiceProvider serviceProvider)
|
protected void |
appendTitles(Element root,
List<String> titles)
Appends the given titles to the given root. |
XMLFragment |
createOperationResponse(Manifest operationResponse)
Will create an XMLFragment which holds the ows:OperationResponse as the root element, values from the given manifest will be appended. |
void |
exportCapabilities(Element root,
OWSCommonCapabilities capabilities)
make an xml representation of given capabilities bean. |
static XMLFragment |
exportException(OGCWebServiceException exception)
Creates an ows 1.1.0 xml-Representation of the given ExceptionReport. |
| 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 |
|---|
public XMLFactory()
| Method Detail |
|---|
public void exportCapabilities(Element root,
OWSCommonCapabilities capabilities)
root - to export to.capabilities - to exportpublic XMLFragment createOperationResponse(Manifest operationResponse)
operationResponse - to create the dom-xml representation from.
null if the given parameter is
null.
public void appendManifest(Element root,
Manifest manifestType)
null
nothing is done.
root - to append the manifest values to.manifestType - to export.
protected void appendReference(Element root,
Reference reference)
null nothing is
done.
root - to append too.reference - to append.
protected void appendBasicIdentification(Element root,
BasicIdentification basicIdentification)
null
nothing is done.
root - to append too.basicIdentification - to append.
protected void appendServiceIdentification(Element capabilitiesElement,
ServiceIdentification serviceIdentification)
capabilitiesElement - to export to if null nothing will be done.serviceIdentification - to append if null nothing will be done (optional).
protected void appendTitles(Element root,
List<String> titles)
null nothing is done.
root - to append too.titles - to append.
protected void appendAbstracts(Element root,
List<String> abstracts)
null nothing is
done.
root - to append too.abstracts - to append.
protected void appendKeywords(Element root,
List<Keywords> keywords)
null nothing is done.
root - to append too.keywords - to append.
protected void appendServiceProvider(Element capabilitiesElement,
ServiceProvider serviceProvider)
capabilitiesElement - to export to if null nothing will be done.serviceProvider - to append if null nothing will be done (optional).
protected void appendServiceContact(Element root,
ServiceContact serviceContact)
root - to export to if null nothing will be done.serviceContact - to append if null nothing will be done (optional).
protected void appendContactInfo(Element root,
ContactInfo contactInfo)
root - (usually a serviceContact) to export to if null nothing will be done.contactInfo - to append if null nothing will be done (optional).
public void appendOperationsMetadata(Element capabilitiesElement,
OperationsMetadata operationsMetadata)
capabilitiesElement - to export to if null nothing will be done.operationsMetadata - to append if null nothing will be done (optional).
protected void appendOperations(Element root,
List<Operation> operations)
throws IllegalArgumentException
root - to append to.operations - may not be null
IllegalArgumentException - if the list of operations < 2 or null.
protected void appendDomainType(Element domainTypeElement,
DomainType domainType)
domainTypeElement - to append the domainttype element to.domainType - to append.
protected void appendMetadataAttribs(Element root,
List<Metadata> metadatasAttribs)
null
nothing is done.
root - to append too.metadatasAttribs - to append. a list of <xlink:href, about> pairs.public static XMLFragment exportException(OGCWebServiceException exception)
exception - containing the exceptions.
protected static void appendException(Element root,
OGCWebServiceException exception)
OGCWebServiceException to the given Element.
If either one is null this method just returns.
root - the Element to append the exceptions to.exception - the Exception to append
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org