Package com.luciad.model
package com.luciad.model
Model interfaces
The following are the main model interfaces provided in this package:ILcdModel
: basic model interface, providing methods for retrieving, adding and removing elements, to be implemented by all models.ILcdIntegerIndexedModel
: extension of ILcdModel that allows integered-indexed queries, similar to a JavaList
.ILcd2DBoundsIndexedModel
: extension of ILcdModel that allows spatial queries.ILcdFeatureIndexedModel
: extension of ILcdModel that allows feature-based queries.
Model implementations
The following table shows all available ILcdModel implementations in this package and the functionality they offer. One should choose the model that matches best the requirements: the more functionality a model offers, the more resources it will use and the more constraints it will put on the elements.
Model | Integer access | Spatial access | Feature access | Multileveling | Lazy loading |
---|---|---|---|---|---|
TLcdVectorModel |
x | ||||
TLcd2DBoundsIndexedModel |
x | x | |||
TLcdMultilevel2DBoundsIndexedModel |
x | x | x | ||
TLcdSoft2DBoundsIndexedModel |
x | x |
The class documentation provides more information about the constraints and limitations of each of the implementations.
If it is unclear which model to use, TLcd2DBoundsIndexedModel
is a good first choice that
has a good overall performance without adding too much complexity to the application.
Two classes are provided to combine multiple models into larger models:
TLcdModelList
is the basic implementation for combining different models into one model.TLcd2DBoundsIndexedModelList
adds spatial model access to TLcdModelList; only spatial submodels are allowed.
- Since:
- 1.0
-
ClassDescriptionA skeleton implementation of
ILcdModel
to minimize the effort required to implement this interface.Deprecated.This API is only here to support deprecated formats.AnILcdModelListener
implementation which only keeps aWeakReference
to the object it wants to update when model changes are received.AnILcdModel
whose elements can be retrieved via a spatial index, using 2D rectangular bounds.An interface for objects whose contents can be spatially queried.ILcdModelDescriptor
that describes models of which the elements are based onILcdDataObject
.AnILcdModel
whose elements can be retrieved efficiently via expression-based indices.An identifier for an index in anILcdDataObjectIndexedModel
.General representation of a data source.Deprecated.UseILcdModelDecoder
insteadILcdDataSourceModelDescriptor<T extends ILcdDataSource>Extension ofILcdModelDescriptor
, that also offers theILcdDataSource
that was used to decode the model (if available).This interface provides access to meta-data associated with a model reference.Deprecated.Deprecated.AnILcdModel
whose elements can be retrieved via an integer-based index.A container for domain objects.A query to be used withILcdModel.query(Query)
.ILcdModelContainer
is anILcdModelProducerListener
containing a zero or moreILcdModel
objects.ILcdModelContainerListener
is the listener interface forTLcdModelContainerEvents
.Provides more information about anILcdModel
.Creates aILcdModelDescriptor
for a givenILcdModel
.Writes models to files or other types of storage.Factory to createILcdModel
instances for a givenILcdModelDescriptor
andILcdModelReference
.The listener interface for receiving model change events.A producer ofILcdModel
objects.ILcdModelProducerListener
is the listener interface forTLcdModelProducerEvents
.Root interface for all classes defining the coordinate system in which the geometry of elements in anILcdModel
is expressed.Decodes theILcdModelReference
that is associated with a data source.A model reference paired with the source file from which it was decoded.Encodes theILcdModelReference
that is associated with a data source.A formatter for convertingILcdModelReference
objects into string representations.A parser for converting string representations of model references into the correspondingILcdModelReference
instance.AnILcdModelTreeNode
is anILcdModel
which can also have child models.Generic resource metadata object.CreatesILcd2DBoundsInteractable
tiles from files or other data sources.Deprecated.This API is only here to support deprecated formats.An implementation ofILcd2DBoundsIndexedModel
that is also anILcdIntegerIndexedModel
.ATLcdModelList
that also implementsILcd2DBoundsIndexedModel
.An implementation ofILcdModelTreeNode
based on aTLcd2DBoundsIndexedModel
.Deprecated.This API is only here to support deprecated formats.Composite implementation ofILcdModelDecoder
.Composite implementation ofILcdModelReferenceDecoder
.Composite implementation ofILcdModelReferenceEncoder
.Default implementation ofILcdDataModelDescriptor
.Implementation ofILcdDataObjectIndexedModel
which additionally implementscom.luciad.model.ILcd2DBoundsIndexedModel
.Default implementation ofILcdDataObjectIndexedModel
.Creates a new data source based on a source name, typically a file name.AnILcdFilter
that only accepts objects which are contained in theILcdModel
set on this filter.Deprecated.This API is only here to support deprecated formats.An extension of aTLcdEditableModelListDescriptor
that implementsILcdDataModelDescriptor
.An extension of aTLcdModelDescriptor
, used as the model descriptor of aTLcdModelList
.Deprecated.Deprecated.Deprecated.TLcdModelChangedEvent
implements change events that occurred in amodel
, as received by amodel listener
.Implements support for firing model change events.This class provides an implementation ofILcdModelContainer
.TLcdModelContainerEvent
implements dispatchable events on aILcdModelContainer
.Default implementation ofILcdModelDescriptor
.AnILcdModel
that is composed of an ordered list of otherILcdModel
objects.Encapsulates advanced metadata information (including ISO 19115 metadata) aboutILcdModel
instances.Builder for creating a model metadata object.Determines the category of data.A source name and its (optionally) associated mime type.TLcdModelProducerEvent
implements dispatchable events on aILcdModelProducer
.This class provides an implementation ofILcdEventMulticaster
that is also anILcdModelProducerListener
.This class provides extra information regarding a model reference.An implementation ofILcdModelTreeNode
based on aTLcdVectorModel
.This is a utility class that can be used to create anILcdModelTreeNode
implementation.Class with utility methods to work withILcdModelTreeNode
s.An implementation ofILcd2DBoundsIndexedModel
andILcdIntegerIndexedModel
that can be used to represent the same data at different levels of detail.Deprecated.This API is only here to support deprecated formats.Deprecated.Deprecated.This API is only here to support deprecated formats.ThisILcdAction
is anILcdModelProducer
.BeanInfo class for TLcdOpenAction.Deprecated.This API is only here to support deprecated formats.ThisILcdAction
saves anILcdModel
.An implementation ofILcd2DBoundsIndexedModel
that lazily loads its contents when they are first queried.ThisILcdModelDecoder
allows to decode entries in tar files.Deprecated.This API is only here to support deprecated formats.Default implementation ofILcdIntegerIndexedModel
.ThisILcdModelDecoder
allows to decode entries in zip files.