Class TLcdSLDTrim

All Implemented Interfaces:
ILcdDataObject, ILcdGenericExpression, ILcdOGCExpression, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDTrim extends TLcdSLDFunction
Strips off trailing and/or leading characters from a string value, by default, spaces are removed.
Since:
2012.1
  • Constructor Details

    • TLcdSLDTrim

      public TLcdSLDTrim()
      Default Constructor
    • TLcdSLDTrim

      public TLcdSLDTrim(TLcdDataType aType)
      Default Constructor
    • TLcdSLDTrim

      public TLcdSLDTrim(TLcdSLDParameterValue aStringValue, String aStripOffChar)
      Creates a new instance and initializes the properties with the given values.
  • Method Details

    • getStripOffChar

      public String getStripOffChar()
      Returns the value of the property that maps to the stripOffChar attribute.
      Returns:
      the value of the STRIP_OFF_CHAR_PROPERTY property.
    • setStripOffChar

      public void setStripOffChar(String aValue)
      Sets the value of the property that maps to the stripOffChar attribute.
      Parameters:
      aValue - the value to set for the STRIP_OFF_CHAR_PROPERTY property.
    • getStripOffPosition

      public TLcdSLDTrim.StripOffPosition getStripOffPosition()
      Returns the value of the property that maps to the stripOffPosition attribute.
      Returns:
      the value of the STRIP_OFF_POSITION_PROPERTY property.
    • setStripOffPosition

      public void setStripOffPosition(TLcdSLDTrim.StripOffPosition aValue)
      Sets the value of the property that maps to the stripOffPosition attribute.
      Parameters:
      aValue - the value to set for the STRIP_OFF_POSITION_PROPERTY property.
    • getStringValue

      public TLcdSLDParameterValue getStringValue()
      Returns the value of the property that maps to the 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.

      Returns:
      the value of the STRING_VALUE_PROPERTY property.
    • setStringValue

      public void setStringValue(TLcdSLDParameterValue aValue)
      Sets the value of the property that maps to the 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.

      Parameters:
      aValue - the value to set for the STRING_VALUE_PROPERTY property.