|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.enterprise.control.AbstractListener
org.deegree.portal.standard.context.control.DownloadListener
public class DownloadListener
This Listener is used when a user likes to download the WFS data behind a WMS layer.
| Nested Class Summary | |
|---|---|
protected class |
DownloadListener.FeatureTemplate
little helper class to store association between IDs and bounding boxes |
| Constructor Summary | |
|---|---|
DownloadListener()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(FormEvent event)
|
protected ArrayList<DownloadListener.FeatureTemplate> |
createFeatureTemplates(RPCWebEvent event)
performs the access to the data marked at the shopping card |
protected GetFeature |
createGetFeatureRequest(DownloadListener.FeatureTemplate ft,
String version,
QualifiedName ftName,
QualifiedName gtName,
GetFeature.RESULT_TYPE resultType)
creates a GetFeature request considering the feature type (ID) and the bounding box encapsulated in the passed FeatureTemplate |
protected Envelope |
extractBBox(RPCStruct bboxStruct)
Convenience method to extract the boundig box from an rpc fragment. |
protected String |
getUserName(String sessionId)
gets the user name assigned to the passed session ID from a authentification service. |
protected org.deegree.portal.standard.context.control.DownloadListener.RequestBean |
getWFSGetFeatureCalls(DownloadListener.FeatureTemplate layer,
ViewContext vc)
returns the call to be used to perform a GetFeature request for the passed feature template. |
| Methods inherited from class org.deegree.enterprise.control.AbstractListener |
|---|
getAlternativeNextPage, getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest, getReturnValue, gotoErrorPage, handle, setAlternativeNextPage, setDefaultAlternativeNextPage, setDefaultNextPage, setNextPage, setReturnValue, toModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DownloadListener()
| Method Detail |
|---|
public void actionPerformed(FormEvent event)
actionPerformed in interface WebListeneractionPerformed in class AbstractListener
protected String getUserName(String sessionId)
throws XMLParsingException,
IOException,
SAXException
sessionId -
XMLParsingException
IOException
SAXExceptionprotected Envelope extractBBox(RPCStruct bboxStruct)
bboxStruct - the RPCStruct containing the bounding box. For example,
<member><name>boundingBox</name>etc....
protected ArrayList<DownloadListener.FeatureTemplate> createFeatureTemplates(RPCWebEvent event)
throws PortalException,
Exception
PortalException
Exception
protected org.deegree.portal.standard.context.control.DownloadListener.RequestBean getWFSGetFeatureCalls(DownloadListener.FeatureTemplate layer,
ViewContext vc)
throws PortalException
layer - usedvc -
PortalException
protected GetFeature createGetFeatureRequest(DownloadListener.FeatureTemplate ft,
String version,
QualifiedName ftName,
QualifiedName gtName,
GetFeature.RESULT_TYPE resultType)
throws PortalException
ft - FeatureTemplateftName - a Qualified Name representing the feature type name of the requested feature, ex: app:ZipCodesgtName - a Qualified Name representing the geometry type name of the requested feature, ex: app:geometryresultType - the type of result (GetFeature.RESULT_TYPE.HITS or GetFeature.RESULT_TYPE.RESULTS)
GetFeature request to access data for download
PortalException
|
deegree 2.4 (2010/11/11 10:47 build-27-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