P - the type of parameterpublic abstract class AbstractFeatureSourceLayerPlugin<P> extends java.lang.Object implements MapLayerFactoryPlugin<P>
MapLayerFactoryPlugin objects.| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.ExecutorService |
forkJoinPool
A fork join pool for running async tasks.
|
protected StyleParser |
parser
A parser for parsing styles.
|
| Constructor and Description |
|---|
AbstractFeatureSourceLayerPlugin(java.lang.String typeName,
java.lang.String... typeNames)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected StyleSupplier<org.geotools.data.FeatureSource> |
createStyleFunction(Template template,
java.lang.String styleString)
Create a function that will create the style on demand.
|
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.
|
void |
setParser(StyleParser parser) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, parse@Autowired protected StyleParser parser
@Autowired protected java.util.concurrent.ExecutorService forkJoinPool
public AbstractFeatureSourceLayerPlugin(java.lang.String typeName,
java.lang.String... typeNames)
typeName - at least one type name for identifying the plugin is required.typeNames - additional strings used to identify if this plugin can handle the layer definition.public final java.util.Set<java.lang.String> getTypeNames()
MapLayerFactoryPlugingetTypeNames in interface MapLayerFactoryPlugin<P>protected final StyleSupplier<org.geotools.data.FeatureSource> createStyleFunction(Template template, java.lang.String styleString)
template - the template for this mapstyleString - a string that identifies a style.public final void setParser(StyleParser parser)