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
ConstructorDescriptionConstructs 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 theFunction
element.Returns the value of the property that maps to thePropertyName
element.void
setFunction
(TLcdOGCFunction aValue) Sets the value of the property that maps to theFunction
element.void
setPropertyName
(TLcdOGCPropertyName aValue) Sets the value of the property that maps to thePropertyName
element.
-
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 thePropertyName
element.- Returns:
- the value of the
PROPERTY_NAME_PROPERTY
property.
-
setPropertyName
Sets the value of the property that maps to thePropertyName
element.- Parameters:
aValue
- the value to set for thePROPERTY_NAME_PROPERTY
property.
-
getFunction
Returns the value of the property that maps to theFunction
element.- Returns:
- the value of the
FUNCTION_PROPERTY
property.
-
setFunction
Sets the value of the property that maps to theFunction
element.- Parameters:
aValue
- the value to set for theFUNCTION_PROPERTY
property.
-