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
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration that indicates at what position characters should be removed from a String. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 theStringValueelement.Returns the value of the property that maps to thestripOffCharattribute.Returns the value of the property that maps to thestripOffPositionattribute.voidsetStringValue(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theStringValueelement.voidsetStripOffChar(String aValue) Sets the value of the property that maps to thestripOffCharattribute.voidSets the value of the property that maps to thestripOffPositionattribute.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 thestripOffCharattribute.- Returns:
- the value of the
STRIP_OFF_CHAR_PROPERTYproperty.
-
setStripOffChar
Sets the value of the property that maps to thestripOffCharattribute.- Parameters:
aValue- the value to set for theSTRIP_OFF_CHAR_PROPERTYproperty.
-
getStripOffPosition
Returns the value of the property that maps to thestripOffPositionattribute.- Returns:
- the value of the
STRIP_OFF_POSITION_PROPERTYproperty.
-
setStripOffPosition
Sets the value of the property that maps to thestripOffPositionattribute.- Parameters:
aValue- the value to set for theSTRIP_OFF_POSITION_PROPERTYproperty.
-
getStringValue
Returns the value of the property that maps to theStringValueelement.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_PROPERTYproperty.
-
setStringValue
Sets the value of the property that maps to theStringValueelement.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_PROPERTYproperty.
-