public interface ILcdVPFFACCFeature
FACC (Feature and Attribute Coding Catalogue) is a dictionary of features, attributes and attribute values organized in a standardized coding system. FACC is part of the DIGEST standard (Digital Geographic Information Exchange Standard). It is mainly used by the GeoSym symbology, which uses FACC to retrieve feature and attributes codes for an object to be visualized.
FACC attributes can be accessed sequentially, using an index, or using their three-character alphanumeric attribute code, as defined in the FACC specification. The Java class used to represent the attributes depends on the attribute definition, see TLcdVPFFeatureClass for an overview of how VPF types are mapped on Java classes.
Modifier and Type | Method and Description |
---|---|
String |
getAttributeCode(int aIndex)
Returns the FACC attribute code at the specified index.
|
int |
getAttributeCount()
Returns the number of FACC attributes available for this feature.
|
Object |
getAttributeValue(int aIndex)
Returns the DIGEST attribute value of the attribute at the given index.
|
Object |
getAttributeValue(String aAttributeCode)
Returns the DIGEST attribute value of the attribute with the specified code.
|
String |
getFeatureCode()
Returns the FACC feature code of this feature, defining the type of this object (for example, a
road, a buoy, ...).
|
String getFeatureCode()
The feature code is a five-character code, starting with two letters indicating the category and subcategory, followed by a three-digit number indicating the type within the given subcategory.
int getAttributeCount()
String getAttributeCode(int aIndex)
The attribute code is a three-character alphanumeric code.
aIndex
- the index of the attribute whose code is to be returned.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getAttributeCount
.Object getAttributeValue(int aIndex)
aIndex
- the index of the attribute whose value is to be returned.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getAttributeCount
.Object getAttributeValue(String aAttributeCode)
aAttributeCode
- the attribute code of the attribute whose value is to be returned.null
if no attribute is available with the given attribute code.