| 
deegree 2.1 (2007/11/08 09:57 build-328-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(Element root,
                                           FeatureTypeList featureTypeList)
Appends the XML representation of the wfs:FeatureTypeList- section to the passed
 Element. | 
static void | 
appendGMLObjectTypeList(Element root,
                                               URI elementNS,
                                               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(Element root,
                                               GMLObject gmlObjectType)
Appends the XML representation of the given GMLObject (as a wfs:GMLObjectType element) to
 the passed Element. | 
static void | 
appendOutputFormats(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(Element root,
                                                       ServiceIdentification serviceIdentification)
Appends the DOM representation of the ServiceIdentification section to the passed Element. | 
static void | 
appendWFSFeatureType(Element root,
                                         WFSFeatureType featureType)
Appends the XML representation of the WFSFeatureType instance to the passed Element. | 
static void | 
appendWgs84BoundingBox(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,
             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, exportNS | 
| 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 static WFSCapabilitiesDocument export(WFSCapabilities capabilities)
                                      throws IOException
WFSCapabilities instance to a WFSCapabilitiesDocument.
capabilities - 
WFSCapabilities
IOException - if XML template could not be loaded
public static WFSCapabilitiesDocument export(WFSCapabilities capabilities,
                                             String[] sections)
                                      throws IOException
WFSCapabilities instance to a WFSCapabilitiesDocument.
capabilities - sections - names of sections to be exported, may contain 'All'
WFSCapabilities
IOException - if XML template could not be loaded
protected static void appendServiceIdentification(Element root,
                                                  ServiceIdentification serviceIdentification)
ServiceIdentification section to the passed Element.
root - serviceIdentification - 
public static GetFeatureDocument export(GetFeature getFeature)
                                 throws IOException,
                                        XMLParsingException
GetFeature instance to a GetFeatureDocument.
getFeature - request to be exported
GetFeature request
IOException
XMLParsingException
public static LockFeatureDocument export(LockFeature request)
                                  throws IOException,
                                         XMLParsingException,
                                         SAXException
LockFeature request instance to a LockFeatureDocument.
request - request to be exported
LockFeature request
IOException
XMLParsingException
SAXException
public static LockFeatureResponseDocument export(LockFeatureResponse response)
                                          throws IOException,
                                                 SAXException
LockFeatureResponse instance to its XML representation.
response - response to be exported
LockFeatureResponse
IOException
SAXException
public static TransactionDocument export(Transaction transaction)
                                  throws IOException,
                                         XMLParsingException
Transaction instance to its XML representation.
transaction - transaction to export
IOException
XMLParsingException
public static TransactionResponseDocument export(TransactionResponse response)
                                          throws IOException
TransactionResponse to its XML representation.
response - TransactionResponse to export
IOException
public static void appendFeatureTypeList(Element root,
                                         FeatureTypeList featureTypeList)
wfs:FeatureTypeList- section to the passed
 Element.
root - featureTypeList - 
public static void appendWFSFeatureType(Element root,
                                        WFSFeatureType featureType)
WFSFeatureType instance to the passed Element.
root - featureType - 
public static void appendGMLObjectTypeList(Element root,
                                           URI elementNS,
                                           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(Element root,
                                           GMLObject gmlObjectType)
GMLObject (as a wfs:GMLObjectType element) to
 the passed Element.
root - gmlObjectType - 
public static void appendWgs84BoundingBox(Element root,
                                          Envelope envelope)
Envelope (as an ows:WGS84BoundingBoxType
 element) to the passed Element.
root - envelope - 
public static void appendOutputFormats(Element root,
                                       FormatType[] formats)
FormatTypes as (as a wfs:OutputFormats
 element) to the passed Element.
root - formats - 
  | 
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net