Package com.luciad.format.pol
Class TLcdPOLDefaultAttributeProvider
java.lang.Object
com.luciad.format.pol.TLcdPOLDefaultAttributeProvider
- All Implemented Interfaces:
ILcdPOLAttributeProvider
Default
ILcdPOLAttributeProvider
implementation to provide POL attributes for
arbitrary objects. This implementation will return the property asked for POL elements.
For non POL objects, default values will be returned.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
static String
static String
retrieveAltitudeUnit
(Object aObject) Retrieves the altitude unit from an arbitrary object.int
retrieveColorIndex
(Object aObject) Retrieves the color index from an arbitrary object.retrieveMappingAsString
(Object aObject) Retrieves the mapping from an arbitrary object as a String.retrieveMaxAltitudeAsString
(Object aObject) Retrieves the maximum altitude from an arbitrary object as a String.retrieveMinAltitudeAsString
(Object aObject) Retrieves the minimum altitude from an arbitrary object as a String.retrieveName
(Object aObject) Retrieves the name from an arbitrary object.retrieveTypeAsString
(Object aObject) Retrieves the type from an arbitrary object as a String.
-
Constructor Details
-
TLcdPOLDefaultAttributeProvider
public TLcdPOLDefaultAttributeProvider()
-
-
Method Details
-
getDefaultTypeasString
-
getDefaultName
-
getDefaultAltitudeUnit
-
getDefaultMinAltitudeAsString
-
getDefaultMaxAltitudeAsString
-
retrieveColorIndex
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the color index from an arbitrary object.- Specified by:
retrieveColorIndex
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the color index from the given object.
-
retrieveTypeAsString
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the type from an arbitrary object as a String.- Specified by:
retrieveTypeAsString
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the type from the given object as a String.
-
retrieveMappingAsString
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the mapping from an arbitrary object as a String.- Specified by:
retrieveMappingAsString
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the mapping from the given object as a String.
-
retrieveName
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the name from an arbitrary object.- Specified by:
retrieveName
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the name from the given object.
-
retrieveMinAltitudeAsString
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the minimum altitude from an arbitrary object as a String.- Specified by:
retrieveMinAltitudeAsString
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the minimum altitude from the given object as a String.
-
retrieveMaxAltitudeAsString
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the maximum altitude from an arbitrary object as a String.- Specified by:
retrieveMaxAltitudeAsString
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the maximum altitude from the given object as a String.
-
retrieveAltitudeUnit
Description copied from interface:ILcdPOLAttributeProvider
Retrieves the altitude unit from an arbitrary object.- Specified by:
retrieveAltitudeUnit
in interfaceILcdPOLAttributeProvider
- Parameters:
aObject
- any object.- Returns:
- the altitude unit from the given object.
-