|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vfny.geoserver.responses.wms.map.GetMapDelegate
Base class for delegates who creates a map based on a GetMap request. Subclasses should implement one or more output format
| Constructor Summary | |
GetMapDelegate()
Creates a new GetMapDelegate object. |
|
| Method Summary | |
protected org.geotools.styling.Style[] |
buildStyles(java.util.List styleNames,
GeoServer gs)
|
abstract boolean |
canProduce(java.lang.String mapFormat)
Evaluates if this Map producer can generate the map format specified by mapFormat |
protected abstract void |
execute(FeatureTypeInfo[] requestedLayers,
org.geotools.data.FeatureResults[] resultLayers,
org.geotools.styling.Style[] styles)
Execute method for concrete children to implement. |
protected void |
execute(GetMapRequest request)
Executes a GetMapRequest. |
void |
execute(Request request)
Executes a Request, which must be a GetMapRequest. |
protected GetMapRequest |
getRequest()
Gets the map request. |
abstract java.util.List |
getSupportedFormats()
Gets A list of the formats this delegate supports. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.vfny.geoserver.responses.Response |
abort, getContentType, writeTo |
| Constructor Detail |
public GetMapDelegate()
| Method Detail |
public void execute(Request request)
throws ServiceException
execute in interface Responserequest - A valid GetMapRequest.
ServiceException - If the request can not be executed.
protected void execute(GetMapRequest request)
throws WmsException
request - A valid GetMapRequest.
WmsException - If anything goes wrong.
protected abstract void execute(FeatureTypeInfo[] requestedLayers,
org.geotools.data.FeatureResults[] resultLayers,
org.geotools.styling.Style[] styles)
throws WmsException
requestedLayers - Array of config information of the FeatureTypes
to be processed.resultLayers - Matching array of results from the queries of the
requested layers.styles - Matching array of the styles to process the results with.
WmsException - For any problems executing.
protected org.geotools.styling.Style[] buildStyles(java.util.List styleNames,
GeoServer gs)
throws WmsException
WmsExceptionprotected GetMapRequest getRequest()
public abstract boolean canProduce(java.lang.String mapFormat)
mapFormat
mapFormat - the mime type of the output map format requiered
public abstract java.util.List getSupportedFormats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||