|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcbase.XMLFactory org.deegree.owscommon.XMLFactory
public class XMLFactory
Factory to create XML representations of components that are defined in the
OWS Common Implementation Capabilities Specification 0.3
.
Field Summary | |
---|---|
protected static java.net.URI |
DEEGREECSWNS
|
protected static java.net.URI |
OWSNS
|
Fields inherited from class org.deegree.ogcbase.XMLFactory |
---|
GMLNS, LOG, OGCNS, XLNNS |
Constructor Summary | |
---|---|
XMLFactory()
|
Method Summary | |
---|---|
protected static void |
appendAddress(org.w3c.dom.Element root,
Address address)
Appends the DOM representation of the Address -section to the passed Element . |
protected static void |
appendDCP(org.w3c.dom.Element root,
DCPType dcp)
Appends the DOM representation of a DCPType instance to the passed Element . |
protected static void |
appendException(org.w3c.dom.Element node,
OGCWebServiceException ex,
boolean namespace)
appends a xml representation of an OGCWebServiceException to the passed Element |
protected static void |
appendMetadata(org.w3c.dom.Element root,
java.lang.Object metadata)
Appends the DOM representation of a Metadata instance to the passed Element . |
protected static void |
appendOperationsMetadata(org.w3c.dom.Element root,
OperationsMetadata operationsMetadata)
Appends the DOM representation of the OperationsMetadata - section to the passed Element
. |
protected static void |
appendOWSKeywords(org.w3c.dom.Element xmlNode,
Keywords keywords)
Appends a ows:Keywords -element to the passed Element and fills it with the available
keywords. |
protected static void |
appendOWSKeywords(org.w3c.dom.Element xmlNode,
Keywords[] keywords)
Appends a ows:Keywords -element for each Keywords object of the passed array to the
passed Element . |
protected static void |
appendParameter(org.w3c.dom.Element root,
OWSDomainType parameter,
java.lang.String elementName)
Appends the DOM representation of a OWSDomainType instance to the passed Element . |
protected static void |
appendPhone(org.w3c.dom.Element root,
Phone phone)
Appends the DOM representation of the Phone -section 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 . |
protected static void |
appendServiceProvider(org.w3c.dom.Element root,
ServiceProvider serviceProvider)
Appends the DOM representation of the ServiceProvider - section to the passed Element . |
static XMLFragment |
export(ExceptionReport exr)
Exports an ExceptionReport to an XML Document as defined in the OGC common implementation specification 0.2.0 . |
static XMLFragment |
exportExceptionReport(ExceptionReport exr)
|
static XMLFragment |
exportExceptionReportWFS(OGCWebServiceException exc)
|
static XMLFragment |
exportExceptionReportWFS100(OGCWebServiceException exc)
|
static XMLFragment |
exportNS(ExceptionReport exr)
|
static void |
maybeSetAttribute(org.w3c.dom.Element elem,
java.lang.String name,
java.lang.String value)
|
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 |
Field Detail |
---|
protected static final java.net.URI OWSNS
protected static final java.net.URI DEEGREECSWNS
Constructor Detail |
---|
public XMLFactory()
Method Detail |
---|
public static XMLFragment export(ExceptionReport exr)
OGC common implementation specification 0.2.0
.
exr
-
public static XMLFragment exportNS(ExceptionReport exr)
exr
-
public static XMLFragment exportExceptionReport(ExceptionReport exr)
exr
-
protected static void appendException(org.w3c.dom.Element node, OGCWebServiceException ex, boolean namespace)
node
- ex
- namespace
- if true, the ogc prefix (bound to the ogc namespace) will be appendedprotected static void appendServiceIdentification(org.w3c.dom.Element root, ServiceIdentification serviceIdentification)
ServiceIdentification
- section to the passed
Element
.
root
- serviceIdentification
- protected static void appendOWSKeywords(org.w3c.dom.Element xmlNode, Keywords[] keywords)
ows:Keywords
-element for each Keywords
object of the passed array to the
passed Element
.
xmlNode
- keywords
- protected static void appendOWSKeywords(org.w3c.dom.Element xmlNode, Keywords keywords)
ows:Keywords
-element to the passed Element
and fills it with the available
keywords.
xmlNode
- keywords
- protected static void appendServiceProvider(org.w3c.dom.Element root, ServiceProvider serviceProvider)
ServiceProvider
- section to the passed Element
.
root
- serviceProvider
- protected static void appendPhone(org.w3c.dom.Element root, Phone phone)
Phone
-section to the passed Element
.
root
- phone
- protected static void appendAddress(org.w3c.dom.Element root, Address address)
Address
-section to the passed Element
.
root
- address
- protected static void appendOperationsMetadata(org.w3c.dom.Element root, OperationsMetadata operationsMetadata)
OperationsMetadata
- section to the passed Element
.
root
- protected static void appendDCP(org.w3c.dom.Element root, DCPType dcp)
DCPType
instance to the passed Element
.
root
- dcp
- protected static void appendParameter(org.w3c.dom.Element root, OWSDomainType parameter, java.lang.String elementName)
OWSDomainType
instance to the passed Element
.
root
- parameter
- protected static void appendMetadata(org.w3c.dom.Element root, java.lang.Object metadata)
Metadata
instance to the passed Element
.
root
- metadata
- public static XMLFragment exportExceptionReportWFS(OGCWebServiceException exc)
exc
-
public static XMLFragment exportExceptionReportWFS100(OGCWebServiceException exc)
exc
-
public static void maybeSetAttribute(org.w3c.dom.Element elem, java.lang.String name, java.lang.String value)
elem
- name
- value
-
|
deegree 2.5 (2011/06/29 09:44 build-8-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