Class TLcdDAFIFNDBFeatureClassMapper
java.lang.Object
com.luciad.ais.model.util.TLcdFeatureClassMapper
com.luciad.format.dafif.model.navaid.TLcdDAFIFNDBFeatureClassMapper
- All Implemented Interfaces:
ILcdFeatureClassMapper
This class keeps track of the
Class objects of DAFIF
specific features defined in the ILcdDAFIFNDBFeature
interface.
It also provides a feature class mapping for features defined int the interfaces
extended by the ILcdDAFIFNDBFeature interface.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a newTLcdDAFIFNDBFeatureClassMapperobject. -
Method Summary
Modifier and TypeMethodDescriptiongetFeatureClass(String aFeatureName) Returns theClassobject for the given feature name.static ILcdFeatureClassMapperReturns aTLcdDAFIFNDBFeatureClassMapperobject.Methods inherited from class com.luciad.ais.model.util.TLcdFeatureClassMapper
register
-
Constructor Details
-
TLcdDAFIFNDBFeatureClassMapper
protected TLcdDAFIFNDBFeatureClassMapper()Constructs a newTLcdDAFIFNDBFeatureClassMapperobject.The new instance will contain a feature class mapping for each feature in the
ILcdDAFIFNDBFeatureinterface.This protected constructor was added to allow users to make extensions of this class.
-
-
Method Details
-
getInstance
Returns aTLcdDAFIFNDBFeatureClassMapperobject.This method will always return the same instance. The returned instance will contain a feature class mapping for each feature in the
ILcdDAFIFNDBFeatureinterface.- Returns:
- a
TLcdDAFIFNDBFeatureClassMapperobject
-
getFeatureClass
Description copied from class:TLcdFeatureClassMapperReturns theClassobject for the given feature name.- Specified by:
getFeatureClassin interfaceILcdFeatureClassMapper- Overrides:
getFeatureClassin classTLcdFeatureClassMapper- Parameters:
aFeatureName- a feature name- Returns:
- the
Classobject for the given feature name - Throws:
IllegalArgumentException- if noClassobject is registered yet for the given feature name
-