public class LayerTypeRegistry extends Object
In order to register new layer types, use the standard META-INF/services
JAR service provider interface (SPI). The service provider name is identical to this
class' fully qualified name: com.bc.ceres.glayer.LayerType
.
Modifier and Type | Method and Description |
---|---|
static <T extends LayerType> |
getLayerType(Class<T> layerTypeClass)
Return the instance for the given layerType class.
|
static LayerType |
getLayerType(String name)
Return the instance for the given layerType class name.
|
static Set<LayerType> |
getLayerTypes()
Returns a set of all available layerTypes.
|
public static LayerType getLayerType(String name)
name
- The name of the layer type.public static <T extends LayerType> T getLayerType(Class<T> layerTypeClass)
layerTypeClass
- The class of the layer type.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.