Package com.luciad.format.dafif.decoder
Interface ILcdDAFIFMultiModelDecoder
- All Superinterfaces:
ILcdDAFIFDecoder
,ILcdModelDecoder
- All Known Implementing Classes:
ALcdDAFIFMultiModelDecoder
,TLcdDAFIFAerodromeNavaidDecoder
,TLcdDAFIFILSDecoder
,TLcdDAFIFIndependentAerodromeNavaidDecoder
,TLcdDAFIFIndependentILSDecoder
,TLcdDAFIFNavaidDecoder
,TLcdDAFIFRefuelingTrackDecoder
,TLcdDAFIFVFRRouteDecoder
This interface defines the methods specific for decoders that produce
so-called "multi" models. A "multi" model contains several
submodels. The number of submodels should be specified by calling the
setModelCount
method.-
Method Summary
Modifier and TypeMethodDescriptioncreateModelDescriptor
(String aSource) Creates and returns the model descriptor to be set on the model returned in the decode method.int
Returns the number of models that will be available in the model produced by thedecode
method.void
setModelCount
(int aNumberOfModels) Specifies the number of submodels that will be decoded using this decoder.Methods inherited from interface com.luciad.format.dafif.decoder.ILcdDAFIFDecoder
getBounds, getDAFIFProperties, getDataObjectFactory, getDecodeFileName, getDecodingBounds, getDomainFactory, getErrorMessage, setBounds, setDAFIFModelFilter, setDAFIFProperties, setDataObjectFactory, setDecodingBounds, setDomainFactory, setStoreOriginalReference
Methods inherited from interface com.luciad.model.ILcdModelDecoder
canDecodeSource, canDecodeSource, decode, decodeModelMetadata, decodeModelMetadata, decodeSource, discoverDataSources, getDisplayName
-
Method Details
-
setModelCount
void setModelCount(int aNumberOfModels) Specifies the number of submodels that will be decoded using this decoder.Note: this method should be called before calling the decode method.
- Parameters:
aNumberOfModels
- the number of submodels in the model produced by this decoder- See Also:
-
getModelCount
int getModelCount()Returns the number of models that will be available in the model produced by thedecode
method.- Returns:
- the number of submodels in the model produced by this decoder
- See Also:
-
createModelDescriptor
Creates and returns the model descriptor to be set on the model returned in the decode method.- Parameters:
aSource
- the source that will be used to build the model- Returns:
- the model descriptor to be set on the model produced by this decoder
-