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

public class TLcdKML22AbstractStyleSelector extends TLcdKML22AbstractObject
Domain class modeling the KML AbstractStyleSelectorType type.

Since:
10.0
  • Field Details

    • ABSTRACT_STYLE_SELECTOR_SIMPLE_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_STYLE_SELECTOR_SIMPLE_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractStyleSelectorSimpleExtensionGroup element. The possible values for this property are instances of List<String>.
    • ABSTRACT_STYLE_SELECTOR_OBJECT_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_STYLE_SELECTOR_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractStyleSelectorObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
  • Constructor Details

    • TLcdKML22AbstractStyleSelector

      public TLcdKML22AbstractStyleSelector(TLcdDataType aType)
      Creates a new TLcdKML22AbstractStyleSelector with a custom TLcdDataType.
      Parameters:
      aType - a custom TLcdDataType
  • Method Details

    • getKMLSourceName

      public String 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

      public void setKMLSourceName(String aSourceName)
      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

      public TLcdDataObject clone(Map aObjectDictionary)
      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 the value.getDataType().newInstance() method, and then cloning its properties one by one.
        • If the value implements ILcdDeepCloneable or ILcdCloneable then this interface is used to clone the value.
        • Otherwise, the property value is copied by reference.
      Specified by:
      clone in interface ILcdDeepCloneable
      Overrides:
      clone in class TLcdDataObject
      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