Class TLcdSLDTrim
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.functions.TLcdSLDFunction
com.luciad.ogc.sld.model.functions.TLcdSLDTrim
- All Implemented Interfaces:
ILcdDataObject
,ILcdGenericExpression
,ILcdOGCExpression
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Strips off trailing and/or leading characters from a string value, by default, spaces are removed.
- Since:
- 2012.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enumeration that indicates at what position characters should be removed from a String. -
Constructor Summary
ConstructorDescriptionDefault ConstructorTLcdSLDTrim
(TLcdDataType aType) Default ConstructorTLcdSLDTrim
(TLcdSLDParameterValue aStringValue, String aStripOffChar) 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 theStringValue
element.Returns the value of the property that maps to thestripOffChar
attribute.Returns the value of the property that maps to thestripOffPosition
attribute.void
setStringValue
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theStringValue
element.void
setStripOffChar
(String aValue) Sets the value of the property that maps to thestripOffChar
attribute.void
Sets the value of the property that maps to thestripOffPosition
attribute.Methods inherited from class com.luciad.ogc.sld.model.functions.TLcdSLDFunction
getFallbackValue, setFallbackValue
-
Constructor Details
-
TLcdSLDTrim
public TLcdSLDTrim()Default Constructor -
TLcdSLDTrim
Default Constructor -
TLcdSLDTrim
Creates a new instance and initializes the properties with the given values.
-
-
Method Details
-
getStripOffChar
Returns the value of the property that maps to thestripOffChar
attribute.- Returns:
- the value of the
STRIP_OFF_CHAR_PROPERTY
property.
-
setStripOffChar
Sets the value of the property that maps to thestripOffChar
attribute.- Parameters:
aValue
- the value to set for theSTRIP_OFF_CHAR_PROPERTY
property.
-
getStripOffPosition
Returns the value of the property that maps to thestripOffPosition
attribute.- Returns:
- the value of the
STRIP_OFF_POSITION_PROPERTY
property.
-
setStripOffPosition
Sets the value of the property that maps to thestripOffPosition
attribute.- Parameters:
aValue
- the value to set for theSTRIP_OFF_POSITION_PROPERTY
property.
-
getStringValue
Returns the value of the property that maps to theStringValue
element.A parameter that evaluates to a String. The 'toString' method of the returned Object is used to convert any object into a String.
- Returns:
- the value of the
STRING_VALUE_PROPERTY
property.
-
setStringValue
Sets the value of the property that maps to theStringValue
element.A parameter that evaluates to a String. The 'toString' method of the returned Object is used to convert any object into a String.
- Parameters:
aValue
- the value to set for theSTRING_VALUE_PROPERTY
property.
-