Class TLcdDAFIFDMEFeatureClassMapper
java.lang.Object
com.luciad.ais.model.util.TLcdFeatureClassMapper
com.luciad.format.dafif.model.navaid.TLcdDAFIFDMEFeatureClassMapper
- All Implemented Interfaces:
ILcdFeatureClassMapper
This class keeps track of the
Class objects of DAFIF specific features defined
in the ILcdDAFIFDMEFeature interface.
It also provides a feature class mapping for features defined in the interfaces extended by
the ILcdDAFIFDMEFeature interface.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a newTLcdDAFIFDMEFeatureClassMapperobject. -
Method Summary
Modifier and TypeMethodDescriptiongetFeatureClass(String aFeatureName) Returns theClassobject for the given feature name.static ILcdFeatureClassMapperReturns aTLcdDAFIFDMEFeatureClassMapperobject.Methods inherited from class com.luciad.ais.model.util.TLcdFeatureClassMapper
register
-
Constructor Details
-
TLcdDAFIFDMEFeatureClassMapper
protected TLcdDAFIFDMEFeatureClassMapper()Constructs a newTLcdDAFIFDMEFeatureClassMapperobject. The new instance will contain a feature class mapping for each feature in theILcdDAFIFDMEFeatureinterface. This protected constructor was added to allow users to make extensions of this class.
-
-
Method Details
-
getInstance
Returns aTLcdDAFIFDMEFeatureClassMapperobject. This method will always return the same instance. The returned instance will contain a feature class mapping for each feature in theILcdDAFIFDMEFeatureinterface.- Returns:
- a
TLcdDAFIFDMEFeatureClassMapperobject
-
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
-