Class TLcdSLDStringPosition
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.functions.TLcdSLDFunction
com.luciad.ogc.sld.model.functions.TLcdSLDStringPosition
- All Implemented Interfaces:
ILcdDataObject
,ILcdGenericExpression
,ILcdOGCExpression
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Returns the position of first occurrence of 'LookupString' in 'StringValue', counting from 1. Zero is returned
in
case of search failure.
- Since:
- 2012.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The search direction indicates whether searching goesfrontToBack
orbackToFront
. -
Constructor Summary
ConstructorDescriptionDefault ConstructorDefault ConstructorTLcdSLDStringPosition
(TLcdSLDParameterValue aStringValue, TLcdSLDParameterValue aLookupString, TLcdSLDStringPosition.SearchDirection aSearchDirection) 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 theLookupString
element.Returns the value of the property that maps to thesearchDirection
attribute.Returns the value of the property that maps to theStringValue
element.void
setLookupString
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLookupString
element.void
Sets the value of the property that maps to thesearchDirection
attribute.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
-
TLcdSLDStringPosition
public TLcdSLDStringPosition()Default Constructor -
TLcdSLDStringPosition
Default Constructor -
TLcdSLDStringPosition
public TLcdSLDStringPosition(TLcdSLDParameterValue aStringValue, TLcdSLDParameterValue aLookupString, TLcdSLDStringPosition.SearchDirection aSearchDirection) Creates a new instance and initializes the properties with the given values.
-
-
Method Details
-
getSearchDirection
Returns the value of the property that maps to thesearchDirection
attribute.- Returns:
- the value of the
SEARCH_DIRECTION_PROPERTY
property.
-
setSearchDirection
Sets the value of the property that maps to thesearchDirection
attribute.- Parameters:
aValue
- the value to set for theSEARCH_DIRECTION_PROPERTY
property.
-
getLookupString
Returns the value of the property that maps to theLookupString
element.- Returns:
- the value of the
LOOKUP_STRING_PROPERTY
property.
-
setLookupString
Sets the value of the property that maps to theLookupString
element.- Parameters:
aValue
- the value to set for theLOOKUP_STRING_PROPERTY
property.
-
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.
-