org.deegree.portal.portlet.modules.map.actions.portlets
Class FeatureInfoPortletPerform
java.lang.Object
org.deegree.portal.portlet.modules.actions.AbstractPortletPerform
org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform
org.deegree.portal.portlet.modules.map.actions.portlets.FeatureInfoPortletPerform
- Direct Known Subclasses:
- FeatureInfoForwardPortletPerform
public class FeatureInfoPortletPerform
- extends IGeoPortalPortletPerform
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Fields inherited from class org.deegree.portal.portlet.modules.actions.AbstractPortletPerform |
AVAILABLE_WMC, CURRENT_WMC, CURRENT_WMC_NAME, INIT_MAPPORTLETID, INIT_WMC, PARAM_MAPACTION, PARAM_MAPPORTLET, PARAM_MODE, parameter, portlet, request, SESSION_CURRENTFILAYER, SESSION_HOME, SESSION_VIEWCONTEXT |
Constructor Summary |
FeatureInfoPortletPerform(javax.servlet.http.HttpServletRequest request,
org.apache.jetspeed.portal.Portlet portlet,
javax.servlet.ServletContext sc)
|
Method Summary |
protected void |
doGetFeatureInfo()
performs a GetFeatureInfo/GetFeature/DescribeCoverage request depending on the layer typs the
request targets. |
(package private) String[] |
findCurrentFILayers()
sets the name of the the layers that are activated for feature info requests in the uses WMC |
void |
init()
initializes the portlet by putting the init parameters to the users session. |
protected String |
perform(List<Layer> layerList,
ViewContext vc)
distributes the performance of the feature info requests depending on the requested service
to a specialized method |
(package private) void |
setCurrentFILayer(String[] fiLayer)
sets the name of the the layers that are activated for feature info requests in the uses WMC |
Methods inherited from class org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform |
getCurrentMapContextName, getCurrentMapContextName, getCurrentViewContext, getCurrentViewContext, getNamedViewContext, getNamedViewContext, setBoundingBox, setBoundingBox, setBoundingBoxFromBBOXParam, setCurrentMapContext, setCurrentMapContext, setCurrentMapContextName, setCurrentMapContextName, setLayers, setMode, setNameContext, setNameContext, updateContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_FILAYERS
protected static String PARAM_FILAYERS
PARAM_LAYERS
protected static String PARAM_LAYERS
PARAM_X
protected static String PARAM_X
PARAM_Y
protected static String PARAM_Y
PARAM_FEATURECOUNT
protected static String PARAM_FEATURECOUNT
INIT_PATHTOXSLT
protected static String INIT_PATHTOXSLT
FeatureInfoPortletPerform
public FeatureInfoPortletPerform(javax.servlet.http.HttpServletRequest request,
org.apache.jetspeed.portal.Portlet portlet,
javax.servlet.ServletContext sc)
- Parameters:
request
- portlet
- sc
- will be needed to evaluate the absolut path of the transform script(s)
init
public void init()
- initializes the portlet by putting the init parameters to the users session. Even if this is
not absolutly neccessary it simplifies a few things ...
doGetFeatureInfo
protected void doGetFeatureInfo()
throws PortalException,
OGCWebServiceException
- performs a GetFeatureInfo/GetFeature/DescribeCoverage request depending on the layer typs the
request targets. If defiend the result will be transformed by a XSLT script to get a human
readable out put.
- Throws:
PortalException
OGCWebServiceException
setCurrentFILayer
void setCurrentFILayer(String[] fiLayer)
- sets the name of the the layers that are activated for feature info requests in the uses WMC
- Parameters:
fiLayer
-
perform
protected String perform(List<Layer> layerList,
ViewContext vc)
throws OGCWebServiceException,
PortalException
- distributes the performance of the feature info requests depending on the requested service
to a specialized method
- Parameters:
layerList
- list of context layers provided by the same OWSvc
-
- Returns:
- formated feature info result
- Throws:
OGCWebServiceException
PortalException
findCurrentFILayers
String[] findCurrentFILayers()
- sets the name of the the layers that are activated for feature info requests in the uses WMC
- Returns:
- layers involved in feature info
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org