Class TLcdKML22AbstractStyleSelector
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.style.TLcdKML22AbstractStyleSelector
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
- Direct Known Subclasses:
TLcdKML22Style
,TLcdKML22StyleMap
Domain class modeling the KML AbstractStyleSelectorType type.
- Since:
- 10.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theAbstractStyleSelectorObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractStyleSelectorSimpleExtensionGroup
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionCreates a newTLcdKML22AbstractStyleSelector
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionReturns a deep clone of this object.Gets the originating source document of this abstract sub-stylevoid
setKMLSourceName
(String aSourceName) Sets the source path of this abstract sub-styleMethods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
-
Field Details
-
ABSTRACT_STYLE_SELECTOR_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractStyleSelectorSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_STYLE_SELECTOR_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractStyleSelectorObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22AbstractStyleSelector
Creates a newTLcdKML22AbstractStyleSelector
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
getKMLSourceName
Gets the originating source document of this abstract sub-style- Returns:
- A string that represents a path to the kml document that contains this abstract sub-style
-
setKMLSourceName
Sets the source path of this abstract sub-style- Parameters:
aSourceName
- The source name of the kml document the contains this abstract sub-style
-
clone
Description copied from class:TLcdDataObject
Returns a deep clone of this object. If the clone is not already present in the dictionary, a new instance if created as follows:- First, a new instance is created using Java's clone() mechanism.
- Then, all properties of this object are cloned and set on the newly created
instance. A property is cloned as follows:
- If the property value is an
ILcdDataObject
, the value is cloned by first creating a new instance via thevalue.getDataType().newInstance()
method, and then cloning its properties one by one. - If the value implements
ILcdDeepCloneable
orILcdCloneable
then this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clone
in interfaceILcdDeepCloneable
- Overrides:
clone
in classTLcdDataObject
- Parameters:
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made, and their corresponding clone Object.- Returns:
- a deep clone of this object
-