| java.lang.Object org.geoserver.ows.KvpRequestReader org.geoserver.wms.kvp.GetMapKvpRequestReader
Method Summary | |
public static void | addStyles(GetMapRequest request, MapLayerInfo currLayer, StyledLayer layer, List layers, List styles) the correct thing to do its grab the style from styledLayers[i] inside
the styledLayers[i] will either be : a) nothing - in which case grab the
layer's default style b) a set of: i) NameStyle -- grab it from the
pre-loaded styles ii)UserStyle -- grab it from the sld the user uploaded
NOTE: we're going to get a set of layer->style pairs for (b). | public Object | createRequest() | CoverageInfo | findCoverageLayer(String layerName) | FeatureTypeInfo | findFeatureLayer(String layerName) | public static Style | findStyle(GetMapRequest request, String currStyleName) | public static void | initializeInlineFeatureLayer(GetMapRequest getMapRequest, UserLayer ul, MapLayerInfo currLayer) Method to initialize a user layer which contains inline features. | public boolean | isLaxStyleMatchAllowed() This flags allows the kvp reader to go beyond the SLD library mode specification
and match the first style that can be applied to a given layer. | public boolean | isStyleRequired() | protected MapLayerInfo[] | parseLayers(List values, URL remoteOwsUrl, String remoteOwsType) | protected List | parseStyles(List styleNames) | public void | processSld(GetMapRequest request, StyledLayerDescriptor sld, List styleNames) | public static void | processStandaloneSld(GetMapRequest request, StyledLayerDescriptor sld) | public Object | read(Object request, Map kvp, Map rawKvp) | public void | setFilterFactory(FilterFactory filterFactory) | public void | setHttpRequest(HttpServletRequest httpRequest) | public void | setLaxStyleMatchAllowed(boolean laxStyleMatchAllowed) | public void | setStyleFactory(StyleFactory styleFactory) | public void | setStyleRequired(boolean styleRequired) |
filterFactory | FilterFactory filterFactory(Code) | | filter factory
|
laxStyleMatchAllowed | boolean laxStyleMatchAllowed(Code) | | This flags allows the kvp reader to go beyond the SLD library mode specification
and match the first style that can be applied to a given layer. This is for
backwards compatibility
|
styleFactory | StyleFactory styleFactory(Code) | | style factory
|
styleRequired | boolean styleRequired(Code) | | Flag to control wether styles are mandatory
|
wms | WMS wms(Code) | | The WMS service, that we use to pick up base layer definitions
|
GetMapKvpRequestReader | public GetMapKvpRequestReader(GetMap getMap, WMS wms)(Code) | | |
addStyles | public static void addStyles(GetMapRequest request, MapLayerInfo currLayer, StyledLayer layer, List layers, List styles) throws WmsException(Code) | | the correct thing to do its grab the style from styledLayers[i] inside
the styledLayers[i] will either be : a) nothing - in which case grab the
layer's default style b) a set of: i) NameStyle -- grab it from the
pre-loaded styles ii)UserStyle -- grab it from the sld the user uploaded
NOTE: we're going to get a set of layer->style pairs for (b). these are
added to layers,styles
NOTE: we also handle some featuretypeconstraints
Parameters: request - Parameters: currLayer - Parameters: layer - Parameters: layers - Parameters: styles - |
findStyle | public static Style findStyle(GetMapRequest request, String currStyleName)(Code) | | DOCUMENT ME!
Parameters: request - Parameters: currStyleName - the configured style named currStyleName ornull if such a style does not exists on thisserver. |
initializeInlineFeatureLayer | public static void initializeInlineFeatureLayer(GetMapRequest getMapRequest, UserLayer ul, MapLayerInfo currLayer) throws Exception(Code) | | Method to initialize a user layer which contains inline features.
Parameters: httpRequest - The request Parameters: mapLayer - The map layer. throws: Exception - |
isLaxStyleMatchAllowed | public boolean isLaxStyleMatchAllowed()(Code) | | This flags allows the kvp reader to go beyond the SLD library mode specification
and match the first style that can be applied to a given layer. This is for
backwards compatibility
|
isStyleRequired | public boolean isStyleRequired()(Code) | | |
processStandaloneSld | public static void processStandaloneSld(GetMapRequest request, StyledLayerDescriptor sld)(Code) | | This one processes an SLD in non library mode, that is, it assumes it's the
definition of the map
Parameters: request - Parameters: sld - |
setFilterFactory | public void setFilterFactory(FilterFactory filterFactory)(Code) | | |
setLaxStyleMatchAllowed | public void setLaxStyleMatchAllowed(boolean laxStyleMatchAllowed)(Code) | | |
setStyleFactory | public void setStyleFactory(StyleFactory styleFactory)(Code) | | |
setStyleRequired | public void setStyleRequired(boolean styleRequired)(Code) | | |
|
|