Class TLcdSLDSubstring
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.functions.TLcdSLDFunction
com.luciad.ogc.sld.model.functions.TLcdSLDSubstring
- All Implemented Interfaces:
ILcdDataObject,ILcdGenericExpression,ILcdOGCExpression,ILcdCloneable,ILcdDeepCloneable,Cloneable
Returns substrings of a given String.
- Since:
- 2012.1
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorTLcdSLDSubstring(TLcdDataType aType) Default ConstructorTLcdSLDSubstring(TLcdSLDParameterValue aStringValue, TLcdSLDParameterValue aPosition, TLcdSLDParameterValue aLength) 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 theLengthelement.Returns the value of the property that maps to thePositionelement.Returns the value of the property that maps to theStringValueelement.voidsetLength(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLengthelement.voidsetPosition(TLcdSLDParameterValue aValue) Sets the value of the property that maps to thePositionelement.voidsetStringValue(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theStringValueelement.Methods inherited from class com.luciad.ogc.sld.model.functions.TLcdSLDFunction
getFallbackValue, setFallbackValue
-
Constructor Details
-
TLcdSLDSubstring
public TLcdSLDSubstring()Default Constructor -
TLcdSLDSubstring
Default Constructor -
TLcdSLDSubstring
public TLcdSLDSubstring(TLcdSLDParameterValue aStringValue, TLcdSLDParameterValue aPosition, TLcdSLDParameterValue aLength) Creates a new instance and initializes the properties with the given values.
-
-
Method Details
-
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.
-
getPosition
Returns the value of the property that maps to thePositionelement.The start of the substring, counting from 1.
- Returns:
- the value of the
POSITION_PROPERTYproperty.
-
setPosition
Sets the value of the property that maps to thePositionelement.The start of the substring, counting from 1.
- Parameters:
aValue- the value to set for thePOSITION_PROPERTYproperty.
-
getLength
Returns the value of the property that maps to theLengthelement.The remaining length, starting at Position.
- Returns:
- the value of the
LENGTH_PROPERTYproperty.
-
setLength
Sets the value of the property that maps to theLengthelement.The remaining length, starting at Position.
- Parameters:
aValue- the value to set for theLENGTH_PROPERTYproperty.
-