Package com.luciad.format.gdf
Interface ILcdGDFFeatureThemeMap
- All Known Implementing Classes:
TLcdGDFDefaultFeatureThemeMap
public interface ILcdGDFFeatureThemeMap
This interface maps feature classes on feature themes. It is used by the
decoder to determine to which feature theme a feature class belongs. When
using GDF data in which extra feature classes, not defined in the GDF
specification, are used, the default implementation (
TLcdGDFDefaultFeatureThemeMap
) should be extended to map these extra
feature classes to the right feature theme. It's also possible to extend the
default map with user-defined feature themes.- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureTheme
(int aIndex) Returns the feature theme at the given index.getFeatureTheme
(TLcdGDFFeatureClass aFeatureClass) Returns the feature theme to which the given feature belongs.int
Returns the number of feature themes present in this map.
-
Method Details
-
getFeatureTheme
Returns the feature theme to which the given feature belongs.- Parameters:
aFeatureClass
- the feature class whose feature theme is to be returned.- Returns:
- the feature theme that corresponds to the given feature.
- Throws:
NullPointerException
- if the given feature class is null.
-
getFeatureThemeCount
int getFeatureThemeCount()Returns the number of feature themes present in this map.- Returns:
- the number of feature themes present in this map.
-
getFeatureTheme
Returns the feature theme at the given index.- Parameters:
aIndex
- the index of the feature theme to be returned.- Returns:
- the feature theme at the given index.
- Throws:
IndexOutOfBoundsException
-