Package com.luciad.ogc.sld.model
Class TLcdSLDVendorOption
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDVendorOption
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Defines a vendor option for a symbolizer, consisting of a name and a value.
- Since:
- 2017.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new vendor option.TLcdSLDVendorOption
(TLcdDataType aType) Creates a new vendor option for the given data type. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the value of the property that maps to thename
attribute.Returns the value of the property that maps to theParameterValue
element.Returns the value of this vendor option as a String, if theparameter value
contains a single text element.void
Sets the value of the property that maps to thename
attribute.void
Sets the value of the property that maps to theParameterValue
element.void
setValueObject
(String aValue) Sets the value of this vendor option to the given String.
-
Constructor Details
-
Method Details
-
getValueObject
Returns the value of this vendor option as a String, if theparameter value
contains a single text element. In all other cases,null
is returned.- Returns:
- the value of this vendor option as a String or
null
if there is no String content.
-
setValueObject
Sets the value of this vendor option to the given String.- Parameters:
aValue
- A String value for this vendor option
-
getName
Returns the value of the property that maps to thename
attribute.- Returns:
- the value of the
NAME_PROPERTY
property.
-
setName
Sets the value of the property that maps to thename
attribute.- Parameters:
aValue
- the value to set for theNAME_PROPERTY
property.
-
getParameterValue
Returns the value of the property that maps to theParameterValue
element.- Returns:
- the value of the
PARAMETER_VALUE_PROPERTY
property.
-
setParameterValue
Sets the value of the property that maps to theParameterValue
element.- Parameters:
aValue
- the value to set for thePARAMETER_VALUE_PROPERTY
property.
-