public abstract class ALspSingleLayerFactory extends Object implements ILspLayerFactory
createLayer(com.luciad.model.ILcdModel)
method. The interface method createLayers(com.luciad.model.ILcdModel)
(plural form)
delegates to this method and wraps its result in a single-element Collection
.Constructor and Description |
---|
ALspSingleLayerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract ILspLayer |
createLayer(ILcdModel aModel)
Creates a single
ILspLayer object representing the given model. |
Collection<ILspLayer> |
createLayers(ILcdModel aModel)
Calls
createLayer(com.luciad.model.ILcdModel) and wraps its result in a
single-element
Collection . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canCreateLayers
public final Collection<ILspLayer> createLayers(ILcdModel aModel)
createLayer(com.luciad.model.ILcdModel)
and wraps its result in a
single-element
Collection
. If createLayer()
returns null, an empty Collection
is
returned.createLayers
in interface ILspLayerFactory
aModel
- the model for which a layer should be createdCollection
containing the result of createLayer()