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:
TLcdModelListis the basic implementation for combining different models into one model.TLcd2DBoundsIndexedModelListadds spatial model access to TLcdModelList; only spatial submodels are allowed.
- Since:
- 1.0
-
ClassDescriptionA skeleton implementation of
ILcdModelto minimize the effort required to implement this interface.Deprecated.This API is only here to support deprecated formats.AnILcdModelListenerimplementation which only keeps aWeakReferenceto the object it wants to update when model changes are received.AnILcdModelwhose elements can be retrieved via a spatial index, using 2D rectangular bounds.An interface for objects whose contents can be spatially queried.ILcdModelDescriptorthat describes models of which the elements are based onILcdDataObject.AnILcdModelwhose elements can be retrieved efficiently via expression-based indices.An identifier for an index in anILcdDataObjectIndexedModel.General representation of a data source.Deprecated.UseILcdModelDecoderinsteadILcdDataSourceModelDescriptor<T extends ILcdDataSource>Extension ofILcdModelDescriptor, that also offers theILcdDataSourcethat was used to decode the model (if available).This interface provides access to meta-data associated with a model reference.Deprecated.Deprecated.AnILcdModelwhose elements can be retrieved via an integer-based index.A container for domain objects.A query to be used withILcdModel.query(Query).ILcdModelContaineris anILcdModelProducerListenercontaining a zero or moreILcdModelobjects.ILcdModelContainerListeneris the listener interface forTLcdModelContainerEvents.Provides more information about anILcdModel.Creates aILcdModelDescriptorfor a givenILcdModel.Writes models to files or other types of storage.Factory to createILcdModelinstances for a givenILcdModelDescriptorandILcdModelReference.The listener interface for receiving model change events.A producer ofILcdModelobjects.ILcdModelProducerListeneris the listener interface forTLcdModelProducerEvents.Root interface for all classes defining the coordinate system in which the geometry of elements in anILcdModelis expressed.Decodes theILcdModelReferencethat is associated with a data source.A model reference paired with the source file from which it was decoded.Encodes theILcdModelReferencethat is associated with a data source.A formatter for convertingILcdModelReferenceobjects into string representations.A parser for converting string representations of model references into the correspondingILcdModelReferenceinstance.AnILcdModelTreeNodeis anILcdModelwhich can also have child models.Generic resource metadata object.CreatesILcd2DBoundsInteractabletiles from files or other data sources.Deprecated.This API is only here to support deprecated formats.An implementation ofILcd2DBoundsIndexedModelthat is also anILcdIntegerIndexedModel.ATLcdModelListthat also implementsILcd2DBoundsIndexedModel.An implementation ofILcdModelTreeNodebased 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 ofILcdDataObjectIndexedModelwhich additionally implementscom.luciad.model.ILcd2DBoundsIndexedModel.Default implementation ofILcdDataObjectIndexedModel.Creates a new data source based on a source name, typically a file name.AnILcdFilterthat only accepts objects which are contained in theILcdModelset on this filter.Deprecated.This API is only here to support deprecated formats.An extension of aTLcdEditableModelListDescriptorthat implementsILcdDataModelDescriptor.An extension of aTLcdModelDescriptor, used as the model descriptor of aTLcdModelList.Deprecated.Deprecated.Deprecated.TLcdModelChangedEventimplements change events that occurred in amodel, as received by amodel listener.Implements support for firing model change events.This class provides an implementation ofILcdModelContainer.TLcdModelContainerEventimplements dispatchable events on aILcdModelContainer.Default implementation ofILcdModelDescriptor.AnILcdModelthat is composed of an ordered list of otherILcdModelobjects.Encapsulates advanced metadata information (including ISO 19115 metadata) aboutILcdModelinstances.Builder for creating a model metadata object.Determines the category of data.A source name and its (optionally) associated mime type.TLcdModelProducerEventimplements dispatchable events on aILcdModelProducer.This class provides an implementation ofILcdEventMulticasterthat is also anILcdModelProducerListener.This class provides extra information regarding a model reference.An implementation ofILcdModelTreeNodebased on aTLcdVectorModel.This is a utility class that can be used to create anILcdModelTreeNodeimplementation.Class with utility methods to work withILcdModelTreeNodes.An implementation ofILcd2DBoundsIndexedModelandILcdIntegerIndexedModelthat 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.ThisILcdActionis anILcdModelProducer.BeanInfo class for TLcdOpenAction.Deprecated.This API is only here to support deprecated formats.ThisILcdActionsaves anILcdModel.An implementation ofILcd2DBoundsIndexedModelthat lazily loads its contents when they are first queried.ThisILcdModelDecoderallows to decode entries in tar files.Deprecated.This API is only here to support deprecated formats.Default implementation ofILcdIntegerIndexedModel.ThisILcdModelDecoderallows to decode entries in zip files.