|
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.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 URI |
DEEGREECSWNS
|
protected static URI |
OWSNS
|
| Fields inherited from class org.deegree.ogcbase.XMLFactory |
|---|
GMLNS, LOG, OGCNS, XLNNS |
| Constructor Summary | |
|---|---|
XMLFactory()
|
|
| Method Summary | |
|---|---|
protected static void |
appendAddress(Element root,
Address address)
Appends the DOM representation of the Address -section to the passed Element. |
protected static void |
appendDCP(Element root,
DCPType dcp)
Appends the DOM representation of a DCPType instance to the passed Element. |
protected static void |
appendException(Element node,
OGCWebServiceException ex,
boolean namespace)
appends a xml representation of an OGCWebServiceException to the passed Element |
protected static void |
appendMetadata(Element root,
Object metadata)
Appends the DOM representation of a Metadata instance to the passed Element. |
protected static void |
appendOperationsMetadata(Element root,
OperationsMetadata operationsMetadata)
Appends the DOM representation of the OperationsMetadata- section to the passed Element
. |
protected static void |
appendOWSKeywords(Element xmlNode,
Keywords keywords)
Appends a ows:Keywords -element to the passed Element and fills it with the available
keywords. |
protected static void |
appendOWSKeywords(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(Element root,
OWSDomainType parameter,
String elementName)
Appends the DOM representation of a OWSDomainType instance to the passed Element. |
protected static void |
appendPhone(Element root,
Phone phone)
Appends the DOM representation of the Phone -section to the passed Element. |
protected static void |
appendServiceIdentification(Element root,
ServiceIdentification serviceIdentification)
Appends the DOM representation of the ServiceIdentification- section to the passed
Element. |
protected static void |
appendServiceProvider(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(Element elem,
String name,
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 URI OWSNS
protected static final 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(Element node,
OGCWebServiceException ex,
boolean namespace)
node - ex - namespace - if true, the ogc prefix (bound to the ogc namespace) will be appended
protected static void appendServiceIdentification(Element root,
ServiceIdentification serviceIdentification)
ServiceIdentification- section to the passed
Element.
root - serviceIdentification -
protected static void appendOWSKeywords(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(Element xmlNode,
Keywords keywords)
ows:Keywords -element to the passed Element and fills it with the available
keywords.
xmlNode - keywords -
protected static void appendServiceProvider(Element root,
ServiceProvider serviceProvider)
ServiceProvider- section to the passed Element.
root - serviceProvider -
protected static void appendPhone(Element root,
Phone phone)
Phone -section to the passed Element.
root - phone -
protected static void appendAddress(Element root,
Address address)
Address -section to the passed Element.
root - address -
protected static void appendOperationsMetadata(Element root,
OperationsMetadata operationsMetadata)
OperationsMetadata- section to the passed Element
.
root -
protected static void appendDCP(Element root,
DCPType dcp)
DCPType instance to the passed Element.
root - dcp -
protected static void appendParameter(Element root,
OWSDomainType parameter,
String elementName)
OWSDomainType instance to the passed Element.
root - parameter -
protected static void appendMetadata(Element root,
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(Element elem,
String name,
String value)
elem - name - value -
|
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