Package com.luciad.ogc.sld.model
Class TLcdSLDGeometry
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDGeometry
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
A Geometry gives reference to a (the) geometry property of a
feature to be used for rendering. E.g.: when an ILcdModel contains objects
which are not ILcdShape, it should be possible to retrieve the geometry from
that object using the property name given.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a geometry with a null property name.TLcdSLDGeometry(TLcdDataType aDataType) Constructs a geometry with a null property name and function.TLcdSLDGeometry(TLcdOGCFunction aFunction) Constructs a geometry with the given function.TLcdSLDGeometry(TLcdOGCPropertyName aPropertyName) Constructs a geometry with the given property name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theFunctionelement.Returns the value of the property that maps to thePropertyNameelement.voidsetFunction(TLcdOGCFunction aValue) Sets the value of the property that maps to theFunctionelement.voidsetPropertyName(TLcdOGCPropertyName aValue) Sets the value of the property that maps to thePropertyNameelement.
-
Constructor Details
-
TLcdSLDGeometry
public TLcdSLDGeometry()Constructs a geometry with a null property name. -
TLcdSLDGeometry
Constructs a geometry with the given function.- Parameters:
aFunction- the function to determine the geometry.- Since:
- 2020.1
-
TLcdSLDGeometry
Constructs a geometry with the given property name.- Parameters:
aPropertyName- the name of the property to be used as geometry.
-
TLcdSLDGeometry
Constructs a geometry with a null property name and function.
-
-
Method Details
-
getPropertyName
Returns the value of the property that maps to thePropertyNameelement.- Returns:
- the value of the
PROPERTY_NAME_PROPERTYproperty.
-
setPropertyName
Sets the value of the property that maps to thePropertyNameelement.- Parameters:
aValue- the value to set for thePROPERTY_NAME_PROPERTYproperty.
-
getFunction
Returns the value of the property that maps to theFunctionelement.- Returns:
- the value of the
FUNCTION_PROPERTYproperty.
-
setFunction
Sets the value of the property that maps to theFunctionelement.- Parameters:
aValue- the value to set for theFUNCTION_PROPERTYproperty.
-