|
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.Objectorg.deegree.ogcbase.XMLFactory
org.deegree.owscommon.XMLFactory
org.deegree.ogcwebservices.wfs.XMLFactory
public class XMLFactory
Responsible for the generation of XML representations of objects from the WFS context.
| Field Summary |
|---|
| Fields inherited from class org.deegree.owscommon.XMLFactory |
|---|
DEEGREECSWNS, OWSNS |
| Fields inherited from class org.deegree.ogcbase.XMLFactory |
|---|
GMLNS, XLNNS |
| Constructor Summary | |
|---|---|
XMLFactory()
|
|
| Method Summary | |
|---|---|
static void |
appendFeatureTypeList(org.w3c.dom.Element root,
FeatureTypeList featureTypeList)
Appends the XML representation of the wfs:FeatureTypeList- section to the passed
Element. |
static void |
appendGMLObjectTypeList(org.w3c.dom.Element root,
java.net.URI elementNS,
java.lang.String elementName,
GMLObject[] gmlObjectTypes)
Appends the XML representation of the wfs:ServesGMLObjectTypeList- section to the passed
Element as a new element with the given qualified name. |
static void |
appendGMLObjectTypeType(org.w3c.dom.Element root,
GMLObject gmlObjectType)
Appends the XML representation of the given GMLObject (as a wfs:GMLObjectType element) to
the passed Element. |
protected static void |
appendKeywords(org.w3c.dom.Element xmlNode,
Keywords[] keywords,
java.net.URI namespaceURI)
Appends a ows:Keywords -element for each Keywords object of the passed array to the
passed Element. |
protected static void |
appendKeywords(org.w3c.dom.Element xmlNode,
Keywords keywords,
java.net.URI namespaceURI)
Appends a Keyword -element to the passed Element and fills it with the available
keywords. |
static void |
appendOutputFormats(org.w3c.dom.Element root,
FormatType[] formats)
Appends the XML representation of the given FormatTypes as (as a wfs:OutputFormats element)
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. |
static void |
appendWFSFeatureType(org.w3c.dom.Element root,
WFSFeatureType featureType)
Appends the XML representation of the WFSFeatureType instance to the passed Element. |
static void |
appendWgs84BoundingBox(org.w3c.dom.Element root,
Envelope envelope)
Appends the XML representation of the given Envelope (as an ows:WGS84BoundingBoxType
element) to the passed Element. |
static GetFeatureDocument |
export(GetFeature getFeature)
Exports a GetFeature instance to a GetFeatureDocument. |
static LockFeatureDocument |
export(LockFeature request)
Exports a LockFeature request instance to a LockFeatureDocument. |
static LockFeatureResponseDocument |
export(LockFeatureResponse response)
Exports a LockFeatureResponse instance to its XML representation. |
static TransactionDocument |
export(Transaction transaction)
Exports a Transaction instance to its XML representation. |
static TransactionResponseDocument |
export(TransactionResponse response)
Exports an instance of TransactionResponse to its XML representation. |
static WFSCapabilitiesDocument |
export(WFSCapabilities capabilities)
Exports a WFSCapabilities instance to a WFSCapabilitiesDocument. |
static WFSCapabilitiesDocument |
export(WFSCapabilities capabilities,
boolean serviceIdentification,
boolean serviceProvider,
boolean operationsMetadata,
boolean featureTypeList)
|
static WFSCapabilitiesDocument |
export(WFSCapabilities capabilities,
java.lang.String[] sections)
Exports a WFSCapabilities instance to a WFSCapabilitiesDocument. |
| Methods inherited from class org.deegree.owscommon.XMLFactory |
|---|
appendAddress, appendDCP, appendException, appendMetadata, appendOperationsMetadata, appendOWSKeywords, appendOWSKeywords, appendParameter, appendPhone, appendServiceProvider, export, exportExceptionReport, exportExceptionReportWFS, exportExceptionReportWFS100, exportNS, maybeSetAttribute |
| Methods inherited from class org.deegree.ogcbase.XMLFactory |
|---|
appendCodeList, appendEnvelope, appendFeatureId, appendGeometry, appendInterval, 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 static WFSCapabilitiesDocument export(WFSCapabilities capabilities)
throws java.io.IOException
WFSCapabilities instance to a WFSCapabilitiesDocument.
capabilities -
WFSCapabilities
java.io.IOException - if XML template could not be loaded
public static WFSCapabilitiesDocument export(WFSCapabilities capabilities,
java.lang.String[] sections)
throws java.io.IOException
WFSCapabilities instance to a WFSCapabilitiesDocument.
capabilities - sections - names of sections to be exported, may contain 'All'
WFSCapabilities
java.io.IOException - if XML template could not be loaded
public static WFSCapabilitiesDocument export(WFSCapabilities capabilities,
boolean serviceIdentification,
boolean serviceProvider,
boolean operationsMetadata,
boolean featureTypeList)
throws java.io.IOException
capabilities - serviceIdentification - serviceProvider - operationsMetadata - featureTypeList -
java.io.IOException
protected static void appendServiceIdentification(org.w3c.dom.Element root,
ServiceIdentification serviceIdentification)
ServiceIdentification section to the passed Element.
root - serviceIdentification -
protected static void appendKeywords(org.w3c.dom.Element xmlNode,
Keywords[] keywords,
java.net.URI namespaceURI)
ows:Keywords -element for each Keywords object of the passed array to the
passed Element.
xmlNode - keywords - namespaceURI -
protected static void appendKeywords(org.w3c.dom.Element xmlNode,
Keywords keywords,
java.net.URI namespaceURI)
Keyword -element to the passed Element and fills it with the available
keywords.
xmlNode - keywords - namespaceURI -
public static GetFeatureDocument export(GetFeature getFeature)
throws java.io.IOException,
XMLParsingException
GetFeature instance to a GetFeatureDocument.
getFeature - request to be exported
GetFeature request
java.io.IOException
XMLParsingException
public static LockFeatureDocument export(LockFeature request)
throws java.io.IOException,
XMLParsingException,
org.xml.sax.SAXException
LockFeature request instance to a LockFeatureDocument.
request - request to be exported
LockFeature request
java.io.IOException
XMLParsingException
org.xml.sax.SAXException
public static LockFeatureResponseDocument export(LockFeatureResponse response)
throws java.io.IOException,
org.xml.sax.SAXException
LockFeatureResponse instance to its XML representation.
response - response to be exported
LockFeatureResponse
java.io.IOException
org.xml.sax.SAXException
public static TransactionDocument export(Transaction transaction)
throws java.io.IOException,
XMLParsingException
Transaction instance to its XML representation.
transaction - transaction to export
java.io.IOException
XMLParsingException
public static TransactionResponseDocument export(TransactionResponse response)
throws java.io.IOException
TransactionResponse to its XML representation.
response - TransactionResponse to export
java.io.IOException
public static void appendFeatureTypeList(org.w3c.dom.Element root,
FeatureTypeList featureTypeList)
wfs:FeatureTypeList- section to the passed
Element.
root - featureTypeList -
public static void appendWFSFeatureType(org.w3c.dom.Element root,
WFSFeatureType featureType)
WFSFeatureType instance to the passed Element.
root - featureType -
public static void appendGMLObjectTypeList(org.w3c.dom.Element root,
java.net.URI elementNS,
java.lang.String elementName,
GMLObject[] gmlObjectTypes)
wfs:ServesGMLObjectTypeList- section to the passed
Element as a new element with the given qualified name.
root - elementNS - elementName - gmlObjectTypes -
public static void appendGMLObjectTypeType(org.w3c.dom.Element root,
GMLObject gmlObjectType)
GMLObject (as a wfs:GMLObjectType element) to
the passed Element.
root - gmlObjectType -
public static void appendWgs84BoundingBox(org.w3c.dom.Element root,
Envelope envelope)
Envelope (as an ows:WGS84BoundingBoxType
element) to the passed Element.
root - envelope -
public static void appendOutputFormats(org.w3c.dom.Element root,
FormatType[] formats)
FormatTypes as (as a wfs:OutputFormats element)
to the passed Element.
root - formats -
|
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