|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wfs.WFSRequestController
the class administers all request that are in progress by the WFS (Dispatcher)
--------------------------------------------------------
Field Summary | |
private java.util.Map |
handler
|
private OGCWebServiceRequest |
request
|
Constructor Summary | |
WFSRequestController(OGCWebServiceRequest request)
Creates a new WFSRequestController object. |
Method Summary | |
void |
addRequestPart(java.lang.Object obj)
Adds a part of the whole request to the controller. |
void |
addResponse(OGCWebServiceResponse response)
adds a response to the request controlled by this class or a part of it. |
private OGCWebServiceResponse |
createCapabilitiesResponse()
creates a complete response object from the partial responses of different data store to a GetFeature Request |
private WFSDescribeFeatureTypeResponse |
createDescribeFeatureTypeResponse()
creates a complete response object from the partial responses of different data store to a DescribFeatureType Request |
private OGCWebServiceResponse |
createGetFeatureResponse()
creates a complete response object from the partial responses of different data store to a GetFeature Request |
private OGCWebServiceResponse |
createTransactionResponse()
|
private FeatureCollection |
formatFC(FeatureCollection fc,
WFSGetFeatureResponse response)
formats the result of a GetFeature request as Features and adds them to the submitted FeatureCollection |
private GMLFeatureCollection |
formatGMLFC(GMLFeatureCollection gmlfc,
WFSGetFeatureResponse response)
formats the result of a GetFeature request to GML and adds it to the submitted GMLFeatureCollection |
private org.w3c.dom.Document |
formatXML(org.w3c.dom.Document doc,
WFSGetFeatureResponse response)
formats the result of a GetFeature request as Elements and adds them to the submitted Document |
private java.lang.String[] |
getAffectedFeatureTypes()
returns all feature types affected by the current request |
private java.lang.String[] |
getAffectedFeatureTypes(WFSOperation[] operations)
returns the list of feature types that are affected by a Transaction |
private double[] |
getFCBoundingBox(GMLFeatureCollection fc)
|
OGCWebServiceRequest |
getRequest()
return the request handled by the class |
OGCWebServiceResponse |
getResponse()
creates a resonse object merging all independed responses that has been resulted from perfoming the request |
boolean |
requestFinished()
returns true if all operations of the request are performed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Map handler
private OGCWebServiceRequest request
Constructor Detail |
public WFSRequestController(OGCWebServiceRequest request)
request
- Method Detail |
private java.lang.String[] getAffectedFeatureTypes()
private java.lang.String[] getAffectedFeatureTypes(WFSOperation[] operations)
public void addRequestPart(java.lang.Object obj)
addRequestPart
in interface RequestController
public OGCWebServiceRequest getRequest()
getRequest
in interface RequestController
public boolean requestFinished()
requestFinished
in interface RequestController
public void addResponse(OGCWebServiceResponse response)
addResponse
in interface RequestController
public OGCWebServiceResponse getResponse() throws java.lang.Exception
getResponse
in interface RequestController
java.lang.Exception
private WFSDescribeFeatureTypeResponse createDescribeFeatureTypeResponse() throws DispatcherException
DispatcherException
private OGCWebServiceResponse createGetFeatureResponse()
private GMLFeatureCollection formatGMLFC(GMLFeatureCollection gmlfc, WFSGetFeatureResponse response)
private double[] getFCBoundingBox(GMLFeatureCollection fc)
fc
-
private FeatureCollection formatFC(FeatureCollection fc, WFSGetFeatureResponse response)
private org.w3c.dom.Document formatXML(org.w3c.dom.Document doc, WFSGetFeatureResponse response)
private OGCWebServiceResponse createCapabilitiesResponse()
private OGCWebServiceResponse createTransactionResponse()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |