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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic StringretrieveAltitudeUnit(Object aObject) Retrieves the altitude unit from an arbitrary object.intretrieveColorIndex(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:ILcdPOLAttributeProviderRetrieves the color index from an arbitrary object.- Specified by:
retrieveColorIndexin interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the color index from the given object.
-
retrieveTypeAsString
Description copied from interface:ILcdPOLAttributeProviderRetrieves the type from an arbitrary object as a String.- Specified by:
retrieveTypeAsStringin interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the type from the given object as a String.
-
retrieveMappingAsString
Description copied from interface:ILcdPOLAttributeProviderRetrieves the mapping from an arbitrary object as a String.- Specified by:
retrieveMappingAsStringin interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the mapping from the given object as a String.
-
retrieveName
Description copied from interface:ILcdPOLAttributeProviderRetrieves the name from an arbitrary object.- Specified by:
retrieveNamein interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the name from the given object.
-
retrieveMinAltitudeAsString
Description copied from interface:ILcdPOLAttributeProviderRetrieves the minimum altitude from an arbitrary object as a String.- Specified by:
retrieveMinAltitudeAsStringin interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the minimum altitude from the given object as a String.
-
retrieveMaxAltitudeAsString
Description copied from interface:ILcdPOLAttributeProviderRetrieves the maximum altitude from an arbitrary object as a String.- Specified by:
retrieveMaxAltitudeAsStringin interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the maximum altitude from the given object as a String.
-
retrieveAltitudeUnit
Description copied from interface:ILcdPOLAttributeProviderRetrieves the altitude unit from an arbitrary object.- Specified by:
retrieveAltitudeUnitin interfaceILcdPOLAttributeProvider- Parameters:
aObject- any object.- Returns:
- the altitude unit from the given object.
-