Package com.luciad.format.pol
Interface ILcdPOLAttributeProvider
- All Known Implementing Classes:
TLcdPOLDefaultAttributeProvider
public interface ILcdPOLAttributeProvider
An interface to retrieve POL specific attributes from arbitrary objects. This can be used to encode
models containing non POL elements.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the altitude unit from an arbitrary object.int
retrieveColorIndex
(Object obj) Retrieves the color index from an arbitrary object.Retrieves the mapping from an arbitrary object as a String.Retrieves the maximum altitude from an arbitrary object as a String.Retrieves the minimum altitude from an arbitrary object as a String.retrieveName
(Object obj) Retrieves the name from an arbitrary object.Retrieves the type from an arbitrary object as a String.
-
Method Details
-
retrieveColorIndex
Retrieves the color index from an arbitrary object.- Parameters:
obj
- any object.- Returns:
- the color index from the given object.
-
retrieveTypeAsString
Retrieves the type from an arbitrary object as a String.- Parameters:
obj
- any object.- Returns:
- the type from the given object as a String.
-
retrieveMappingAsString
Retrieves the mapping from an arbitrary object as a String.- Parameters:
obj
- any object.- Returns:
- the mapping from the given object as a String.
-
retrieveName
Retrieves the name from an arbitrary object.- Parameters:
obj
- any object.- Returns:
- the name from the given object.
-
retrieveMinAltitudeAsString
Retrieves the minimum altitude from an arbitrary object as a String.- Parameters:
obj
- any object.- Returns:
- the minimum altitude from the given object as a String.
-
retrieveMaxAltitudeAsString
Retrieves the maximum altitude from an arbitrary object as a String.- Parameters:
obj
- any object.- Returns:
- the maximum altitude from the given object as a String.
-
retrieveAltitudeUnit
Retrieves the altitude unit from an arbitrary object.- Parameters:
obj
- any object.- Returns:
- the altitude unit from the given object.
-