Class TLcdSLDFormatNumber
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.functions.TLcdSLDFunction
com.luciad.ogc.sld.model.functions.TLcdSLDFormatNumber
- All Implemented Interfaces:
ILcdDataObject
,ILcdGenericExpression
,ILcdOGCExpression
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Function for formatting numbers to make them human readable.
- Since:
- 2012.1
-
Constructor Summary
ConstructorDescriptionDefault ConstructorTLcdSLDFormatNumber
(TLcdDataType aType) Default ConstructorTLcdSLDFormatNumber
(TLcdSLDParameterValue aNumericValue, String aPattern) Creates a new instance and initializes the properties with the given values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thedecimalPoint
attribute.Returns the value of the property that maps to thegroupingSeparator
attribute.Returns the value of the property that maps to theNegativePattern
element.Returns the value of the property that maps to theNumericValue
element.Returns the value of the property that maps to thePattern
element.void
setDecimalPoint
(String aValue) Sets the value of the property that maps to thedecimalPoint
attribute.void
setGroupingSeparator
(String aValue) Sets the value of the property that maps to thegroupingSeparator
attribute.void
setNegativePattern
(String aValue) Sets the value of the property that maps to theNegativePattern
element.void
setNumericValue
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theNumericValue
element.void
setPattern
(String aValue) Sets the value of the property that maps to thePattern
element.Methods inherited from class com.luciad.ogc.sld.model.functions.TLcdSLDFunction
getFallbackValue, setFallbackValue
-
Constructor Details
-
TLcdSLDFormatNumber
public TLcdSLDFormatNumber()Default Constructor -
TLcdSLDFormatNumber
Default Constructor -
TLcdSLDFormatNumber
Creates a new instance and initializes the properties with the given values.
-
-
Method Details
-
getDecimalPoint
Returns the value of the property that maps to thedecimalPoint
attribute.- Returns:
- the value of the
DECIMAL_POINT_PROPERTY
property.
-
setDecimalPoint
Sets the value of the property that maps to thedecimalPoint
attribute.- Parameters:
aValue
- the value to set for theDECIMAL_POINT_PROPERTY
property.
-
getGroupingSeparator
Returns the value of the property that maps to thegroupingSeparator
attribute.- Returns:
- the value of the
GROUPING_SEPARATOR_PROPERTY
property.
-
setGroupingSeparator
Sets the value of the property that maps to thegroupingSeparator
attribute.- Parameters:
aValue
- the value to set for theGROUPING_SEPARATOR_PROPERTY
property.
-
getNumericValue
Returns the value of the property that maps to theNumericValue
element.- Returns:
- the value of the
NUMERIC_VALUE_PROPERTY
property.
-
setNumericValue
Sets the value of the property that maps to theNumericValue
element.- Parameters:
aValue
- the value to set for theNUMERIC_VALUE_PROPERTY
property.
-
getPattern
Returns the value of the property that maps to thePattern
element.- Returns:
- the value of the
PATTERN_PROPERTY
property.
-
setPattern
Sets the value of the property that maps to thePattern
element.- Parameters:
aValue
- the value to set for thePATTERN_PROPERTY
property.
-
getNegativePattern
Returns the value of the property that maps to theNegativePattern
element.- Returns:
- the value of the
NEGATIVE_PATTERN_PROPERTY
property.
-
setNegativePattern
Sets the value of the property that maps to theNegativePattern
element.- Parameters:
aValue
- the value to set for theNEGATIVE_PATTERN_PROPERTY
property.
-