|
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.ogcwebservices.wcts.XMLFactory
public class XMLFactory
The XMLFactory
provides helper methods to create xml-doc representations of bean encapsulations.
Constructor Summary | |
---|---|
XMLFactory()
|
Method Summary | |
---|---|
protected static void |
appendCapabilitiesContent(org.w3c.dom.Element root,
Content content)
Appends the WCTSContent bean, as an xml-dom element to the given root. |
protected static void |
appendFeatureCollectionData(org.w3c.dom.Element root,
FeatureCollectionData transformableData,
boolean useDeegreeModel)
Appends a dom-xml document element with the name {http://www.deegree.org/wcts}:FeatureCollectionData. |
protected static void |
appendGeometryData(org.w3c.dom.Element root,
GeometryData transformableData,
boolean useDeegreeModel)
Appends a dom-xml document element with the name {http://www.deegree.org/wcts}:GeometryData. |
protected static void |
appendSimpleData(org.w3c.dom.Element root,
int targetDimension,
SimpleData transformableData,
boolean useDeegreeModel)
Appends a dom-xml document element with the name is {http://www.deegree.org/wcts}:SimpleData. |
protected static void |
appendTransformableData(org.w3c.dom.Element root,
TransformResponse response,
boolean useDeegreeModel)
Appends the TransformableData bean, as an xml-dom element to the given root. |
static XMLFragment |
create(GetResourceByID resourceByID)
Exports an GetResourceById bean to xml. |
static XMLFragment |
create(WCTSCapabilities capabilities)
Exports an WCTSCapabilies bean to xml. |
static void |
createOperationResponse(XMLFactory owsFactory,
org.w3c.dom.Element root,
Manifest operationResponse)
Will create an XMLFragment which holds the d_wcts:OperationResponse as the root element, values from the given manifest will be appended by the given ows_1_1 XMLFactory. |
static XMLFragment |
createResponse(TransformResponse transformResponse,
boolean useDeegreeModel)
Creates a response to a Transform request. |
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 XMLFragment create(GetResourceByID resourceByID)
resourceByID
-
public static XMLFragment create(WCTSCapabilities capabilities)
capabilities
- to be exported.
null
if the given parameter is
null
.public static XMLFragment createResponse(TransformResponse transformResponse, boolean useDeegreeModel)
transformResponse
- to create.useDeegreeModel
- true if the transform response element should be embedded into inline/multipart elements.
null
if the
given param is null
.public static void createOperationResponse(XMLFactory owsFactory, org.w3c.dom.Element root, Manifest operationResponse)
owsFactory
- an instance of the ows_1-1 XMLFactoryroot
- to append the manifest to.operationResponse
- to create the dom-xml representation from.protected static void appendTransformableData(org.w3c.dom.Element root, TransformResponse response, boolean useDeegreeModel)
null
, this method just returns.
root
- to append to.response
- to get the transformable data from.useDeegreeModel
- true if the transform response element should be embedded into inline/multipart elements.protected static void appendFeatureCollectionData(org.w3c.dom.Element root, FeatureCollectionData transformableData, boolean useDeegreeModel)
If either one of the parameters is null
, this method just returns.
root
- to append to.transformableData
- to append.useDeegreeModel
- true if the transform response element should be embedded into inline/multipart elements.protected static void appendGeometryData(org.w3c.dom.Element root, GeometryData transformableData, boolean useDeegreeModel)
If either one of the parameters is null
, this method just returns.
root
- to append to.transformableData
- to append.useDeegreeModel
- true if the transform response element should be embedded into inline/multipart elements.protected static void appendSimpleData(org.w3c.dom.Element root, int targetDimension, SimpleData transformableData, boolean useDeegreeModel)
If either one of the parameters is null
, this method just returns.
root
- to append to.targetDimension
- of the target CRStransformableData
- to append.useDeegreeModel
- true if the transform response element should be embedded into inline/multipart elements.protected static void appendCapabilitiesContent(org.w3c.dom.Element root, Content content)
null
, this method just returns.
root
- to append the values to.content
- to be appended.
|
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