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