public final class TiledWmsLayerParserPlugin extends AbstractGridCoverageLayerPlugin implements MapLayerFactoryPlugin<TiledWmsLayerParam>
Renders tiled WMS layers.
Type: tiledwms
| Constructor and Description |
|---|
TiledWmsLayerParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
TiledWmsLayerParam |
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.
|
TiledWmsLayer |
parse(Template template,
TiledWmsLayerParam param)
Inspect the json data and return Optional<MapLayer> or Optional.absent().
|
createStyleSupplierpublic java.util.Set<java.lang.String> getTypeNames()
MapLayerFactoryPlugingetTypeNames in interface MapLayerFactoryPlugin<TiledWmsLayerParam>public TiledWmsLayerParam createParameter()
MapLayerFactoryPluginAttribute value objects.
See ReflectiveAttribute.createValue(org.mapfish.print.config.Template)()}
for details on how the parsing mechanism works.createParameter in interface MapLayerFactoryPlugin<TiledWmsLayerParam>@Nonnull public TiledWmsLayer parse(@Nonnull Template template, @Nonnull TiledWmsLayerParam param) throws java.lang.Throwable
MapLayerFactoryPluginparse in interface MapLayerFactoryPlugin<TiledWmsLayerParam>template - the configuration related to the current request.param - an object populated from the json for the layerjava.lang.Throwable