deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wfs
Class XMLFactory_1_0_0

java.lang.Object
  extended by org.deegree.ogcwebservices.wfs.XMLFactory_1_0_0

public class XMLFactory_1_0_0
extends java.lang.Object

Responsible for the generation of XML representations of objects from the WFS context that comply to WFS specification 1.0.0.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$

Constructor Summary
XMLFactory_1_0_0()
           
 
Method Summary
protected static void appendPropertyPath(org.w3c.dom.Element element, PropertyPath propertyPath)
          Appends the DOM representation of the given PropertyPath as a new text node to the given element (including necessary namespace bindings).
static GetFeatureDocument export(GetFeature getFeature)
          Exports a GetFeature instance to a GetFeatureDocument.
static XMLFragment export(LockFeatureResponse response)
           
static XMLFragment export(TransactionResponse response)
           
 WFSCapabilitiesDocument export(WFSConfiguration config)
          Exports a WFSCapabilities instance to a WFSCapabilitiesDocument with version 1_0.
static XMLFactory_1_0_0 getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFactory_1_0_0

public XMLFactory_1_0_0()
Method Detail

getInstance

public static XMLFactory_1_0_0 getInstance()
Returns:
a cached instance of this XMLFactory.

export

public WFSCapabilitiesDocument export(WFSConfiguration config)
Exports a WFSCapabilities instance to a WFSCapabilitiesDocument with version 1_0.

Parameters:
config -
Returns:
DOM representation of the WFSCapabilities

export

public static XMLFragment export(TransactionResponse response)
Parameters:
response -
Returns:
a WFS 1.0.0 style response

export

public static XMLFragment export(LockFeatureResponse response)
Parameters:
response -
Returns:
a WFS 1.0.0 style lock feature response

export

public static GetFeatureDocument export(GetFeature getFeature)
                                 throws java.io.IOException,
                                        XMLParsingException
Exports a GetFeature instance to a GetFeatureDocument.

Parameters:
getFeature - request to be exported
Returns:
XML representation of the GetFeature request
Throws:
java.io.IOException
XMLParsingException

appendPropertyPath

protected static void appendPropertyPath(org.w3c.dom.Element element,
                                         PropertyPath propertyPath)
Appends the DOM representation of the given PropertyPath as a new text node to the given element (including necessary namespace bindings).

Parameters:
element - Element node where the PropertyPath is appended to
propertyPath -

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org