public final class WmsLayerFactoryPlugin extends AbstractGridCoverageLayerPlugin implements MapLayerFactoryPlugin<WmsLayerParam>
Renders WMS layers as single image.
Type: wms
| Constructor and Description |
|---|
WmsLayerFactoryPlugin() |
| Modifier and Type | Method and Description |
|---|---|
WmsLayerParam |
createParameter()
Create an instance of a param object.
|
java.util.Set<java.lang.String> |
getTypeNames()
Return a set of all the values the json 'type' property should have for this plugin to apply typenames
MUST be lowercase.
|
WmsLayer |
parse(Template template,
WmsLayerParam layerData)
Inspect the json data and return Optional<MapLayer> or Optional.absent().
|
createStyleSupplierpublic java.util.Set<java.lang.String> getTypeNames()
MapLayerFactoryPlugingetTypeNames in interface MapLayerFactoryPlugin<WmsLayerParam>public WmsLayerParam createParameter()
MapLayerFactoryPluginAttribute value objects. See ReflectiveAttribute.createValue(org.mapfish.print.config.Template)()} for
details on how the parsing mechanism works.createParameter in interface MapLayerFactoryPlugin<WmsLayerParam>@Nonnull public WmsLayer parse(@Nonnull Template template, @Nonnull WmsLayerParam layerData)
MapLayerFactoryPluginparse in interface MapLayerFactoryPlugin<WmsLayerParam>template - the configuration related to the current request.layerData - an object populated from the json for the layer