public class TLcdSLDTrim extends TLcdSLDFunction
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDTrim.StripOffPosition
An enumeration that indicates at what position characters should be removed from a String.
|
Constructor and Description |
---|
TLcdSLDTrim()
Default Constructor
|
TLcdSLDTrim(TLcdDataType aType)
Default Constructor
|
TLcdSLDTrim(TLcdSLDParameterValue aStringValue,
String aStripOffChar)
Creates a new instance and initializes the properties with the given values.
|
Modifier and Type | Method and Description |
---|---|
TLcdSLDParameterValue |
getStringValue()
Returns the value of the property that maps to the
StringValue element. |
String |
getStripOffChar()
Returns the value of the property that maps to the
stripOffChar attribute. |
TLcdSLDTrim.StripOffPosition |
getStripOffPosition()
Returns the value of the property that maps to the
stripOffPosition attribute. |
void |
setStringValue(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
StringValue element. |
void |
setStripOffChar(String aValue)
Sets the value of the property that maps to the
stripOffChar attribute. |
void |
setStripOffPosition(TLcdSLDTrim.StripOffPosition aValue)
Sets the value of the property that maps to the
stripOffPosition attribute. |
getFallbackValue, setFallbackValue
public TLcdSLDTrim()
public TLcdSLDTrim(TLcdDataType aType)
public TLcdSLDTrim(TLcdSLDParameterValue aStringValue, String aStripOffChar)
public String getStripOffChar()
stripOffChar
attribute.STRIP_OFF_CHAR_PROPERTY
property.public void setStripOffChar(String aValue)
stripOffChar
attribute.aValue
- the value to set for the STRIP_OFF_CHAR_PROPERTY
property.public TLcdSLDTrim.StripOffPosition getStripOffPosition()
stripOffPosition
attribute.STRIP_OFF_POSITION_PROPERTY
property.public void setStripOffPosition(TLcdSLDTrim.StripOffPosition aValue)
stripOffPosition
attribute.aValue
- the value to set for the STRIP_OFF_POSITION_PROPERTY
property.public TLcdSLDParameterValue getStringValue()
StringValue
element.
A parameter that evaluates to a String. The 'toString' method of the returned Object is used to convert any object into a String.
STRING_VALUE_PROPERTY
property.public void setStringValue(TLcdSLDParameterValue aValue)
StringValue
element.
A parameter that evaluates to a String. The 'toString' method of the returned Object is used to convert any object into a String.
aValue
- the value to set for the STRING_VALUE_PROPERTY
property.