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
Nested ClassesModifier and TypeClassDescriptionstatic enumThe search direction indicates whether searching goesfrontToBackorbackToFront. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 theLookupStringelement.Returns the value of the property that maps to thesearchDirectionattribute.Returns the value of the property that maps to theStringValueelement.voidsetLookupString(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLookupStringelement.voidSets the value of the property that maps to thesearchDirectionattribute.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
-
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 thesearchDirectionattribute.- Returns:
- the value of the
SEARCH_DIRECTION_PROPERTYproperty.
-
setSearchDirection
Sets the value of the property that maps to thesearchDirectionattribute.- Parameters:
aValue- the value to set for theSEARCH_DIRECTION_PROPERTYproperty.
-
getLookupString
Returns the value of the property that maps to theLookupStringelement.- Returns:
- the value of the
LOOKUP_STRING_PROPERTYproperty.
-
setLookupString
Sets the value of the property that maps to theLookupStringelement.- Parameters:
aValue- the value to set for theLOOKUP_STRING_PROPERTYproperty.
-
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.
-