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.TLcdSLDVendorOption(String aName, String aValue) Creates a new vendor option with the given name and value. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the value of the property that maps to thenameattribute.Returns the value of the property that maps to theParameterValueelement.Returns the value of this vendor option as a String, if theparameter valuecontains a single text element.voidSets the value of the property that maps to thenameattribute.voidSets the value of the property that maps to theParameterValueelement.voidsetValueObject(String aValue) Sets the value of this vendor option to the given String.
-
Constructor Details
-
TLcdSLDVendorOption
public TLcdSLDVendorOption()Creates a new vendor option. -
TLcdSLDVendorOption
Creates a new vendor option with the given name and value.- Since:
- 2025.0.05
-
TLcdSLDVendorOption
Creates a new vendor option for the given data type.- Parameters:
aType- A data type to be used to define this vendor option
-
-
Method Details
-
getValueObject
Returns the value of this vendor option as a String, if theparameter valuecontains a single text element. In all other cases,nullis returned.- Returns:
- the value of this vendor option as a String or
nullif 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 thenameattribute.- Returns:
- the value of the
NAME_PROPERTYproperty.
-
setName
Sets the value of the property that maps to thenameattribute.- Parameters:
aValue- the value to set for theNAME_PROPERTYproperty.
-
getParameterValue
Returns the value of the property that maps to theParameterValueelement.- Returns:
- the value of the
PARAMETER_VALUE_PROPERTYproperty.
-
setParameterValue
Sets the value of the property that maps to theParameterValueelement.- Parameters:
aValue- the value to set for thePARAMETER_VALUE_PROPERTYproperty.
-