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
ConstructorDescriptionDefault 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 theLength
element.Returns the value of the property that maps to thePosition
element.Returns the value of the property that maps to theStringValue
element.void
setLength
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLength
element.void
setPosition
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to thePosition
element.void
setStringValue
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theStringValue
element.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 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.
-
getPosition
Returns the value of the property that maps to thePosition
element.The start of the substring, counting from 1.
- Returns:
- the value of the
POSITION_PROPERTY
property.
-
setPosition
Sets the value of the property that maps to thePosition
element.The start of the substring, counting from 1.
- Parameters:
aValue
- the value to set for thePOSITION_PROPERTY
property.
-
getLength
Returns the value of the property that maps to theLength
element.The remaining length, starting at Position.
- Returns:
- the value of the
LENGTH_PROPERTY
property.
-
setLength
Sets the value of the property that maps to theLength
element.The remaining length, starting at Position.
- Parameters:
aValue
- the value to set for theLENGTH_PROPERTY
property.
-