Class TLcdKML22Pair

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22Pair extends TLcdKML22AbstractObject
Domain class modeling the KML PairType type.

OGC KML Specification description:

 This element can be used wherever the following element is referenced: 
  
  -kml:AbstractObjectGroup
  
 Defines a key/value pair that maps a mode (normal or highlight) to the predefined 
 kml:styleUrl and/or a kml:AbstractStyleSelectorGroup. If both kml:styleUrl and 
 kml:AbstractStyleSelectorGroup exist then their styles shall be merged. 
 A kml:Pair element shall contain kml:key and either kml:styleUrl or 
 kml:AbstractStyleSelectorGroup child elements outside of an update context, that is 
 when not a descendant of kml:Update. 
 

Since:
10.0
  • Field Details

    • KEY_PROPERTY

      public static final TLcdDataProperty KEY_PROPERTY
      Data property that maps to the key element. The possible values for this property are instances of ELcdKML22StyleState.
    • STYLE_URL_PROPERTY

      public static final TLcdDataProperty STYLE_URL_PROPERTY
      Data property that maps to the styleUrl element. The possible values for this property are instances of String.
    • ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
      Data property that maps to the AbstractStyleSelectorGroup element. The possible values for this property are instances of TLcdKML22AbstractStyleSelector.
    • PAIR_SIMPLE_EXTENSION_GROUP_PROPERTY

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

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

    • TLcdKML22Pair

      public TLcdKML22Pair()
    • TLcdKML22Pair

      public TLcdKML22Pair(TLcdDataType aType)
  • Method Details

    • getKey

      public ELcdKML22StyleState getKey()
      Returns the value of the property that maps to the key element.
      Returns:
      the value of the KEY_PROPERTY property.
    • setKey

      public void setKey(ELcdKML22StyleState aValue)
      Sets the value of the property that maps to the key element.
      Parameters:
      aValue - the value to set for the KEY_PROPERTY property.
    • getStyleUrl

      public String getStyleUrl()
      Returns the value of the property that maps to the styleUrl element.
      Returns:
      the value of the STYLE_URL_PROPERTY property.
    • setStyleUrl

      public void setStyleUrl(String aValue)
      Sets the value of the property that maps to the styleUrl element.
      Parameters:
      aValue - the value to set for the STYLE_URL_PROPERTY property.
    • getAbstractStyleSelectorGroup

      public TLcdKML22AbstractStyleSelector getAbstractStyleSelectorGroup()
      Returns the value of the property that maps to the AbstractStyleSelectorGroup element.
      Returns:
      the value of the ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY property.
    • setAbstractStyleSelectorGroup

      public void setAbstractStyleSelectorGroup(TLcdKML22AbstractStyleSelector aValue)
      Sets the value of the property that maps to the AbstractStyleSelectorGroup element.
      Parameters:
      aValue - the value to set for the ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY property.