public class TLcdKML22Pair extends TLcdKML22AbstractObject
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.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
Data property that maps to the
AbstractStyleSelectorGroup element. |
static TLcdDataProperty |
KEY_PROPERTY
Data property that maps to the
key element. |
static TLcdDataProperty |
PAIR_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
PairObjectExtensionGroup element. |
static TLcdDataProperty |
PAIR_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
PairSimpleExtensionGroup element. |
static TLcdDataProperty |
STYLE_URL_PROPERTY
Data property that maps to the
styleUrl element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22Pair() |
TLcdKML22Pair(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
TLcdKML22AbstractStyleSelector |
getAbstractStyleSelectorGroup()
Returns the value of the property that maps to the
AbstractStyleSelectorGroup element. |
ELcdKML22StyleState |
getKey()
Returns the value of the property that maps to the
key element. |
String |
getStyleUrl()
Returns the value of the property that maps to the
styleUrl element. |
void |
setAbstractStyleSelectorGroup(TLcdKML22AbstractStyleSelector aValue)
Sets the value of the property that maps to the
AbstractStyleSelectorGroup element. |
void |
setKey(ELcdKML22StyleState aValue)
Sets the value of the property that maps to the
key element. |
void |
setStyleUrl(String aValue)
Sets the value of the property that maps to the
styleUrl element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty KEY_PROPERTY
key
element.
The possible values for this property are instances of ELcdKML22StyleState
.public static final TLcdDataProperty STYLE_URL_PROPERTY
styleUrl
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
AbstractStyleSelectorGroup
element.
The possible values for this property are instances of TLcdKML22AbstractStyleSelector
.public static final TLcdDataProperty PAIR_SIMPLE_EXTENSION_GROUP_PROPERTY
PairSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty PAIR_OBJECT_EXTENSION_GROUP_PROPERTY
PairObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22Pair()
public TLcdKML22Pair(TLcdDataType aType)
public ELcdKML22StyleState getKey()
key
element.KEY_PROPERTY
property.public void setKey(ELcdKML22StyleState aValue)
key
element.aValue
- the value to set for the KEY_PROPERTY
property.public String getStyleUrl()
styleUrl
element.STYLE_URL_PROPERTY
property.public void setStyleUrl(String aValue)
styleUrl
element.aValue
- the value to set for the STYLE_URL_PROPERTY
property.public TLcdKML22AbstractStyleSelector getAbstractStyleSelectorGroup()
AbstractStyleSelectorGroup
element.ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
property.public void setAbstractStyleSelectorGroup(TLcdKML22AbstractStyleSelector aValue)
AbstractStyleSelectorGroup
element.aValue
- the value to set for the ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
property.