public class TLcdKML22Data extends TLcdKML22AbstractObject
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractObjectGroup Creates an untyped name/value data pair, where: - The data pair is identified by the name attribute - The value of the data pair is supplied by kml:value Both name and kml:value should be encoded. The value of the name attribute shall be unique within the context of its parent kml:ExtendedData element.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
DATA_EXTENSION_PROPERTY
Data property that maps to the
DataExtension element. |
static TLcdDataProperty |
DISPLAY_NAME_PROPERTY
Data property that maps to the
displayName element. |
static TLcdDataProperty |
NAME_PROPERTY
Data property that maps to the
name attribute. |
static TLcdDataProperty |
VALUE_PROPERTY
Data property that maps to the
value element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22Data() |
TLcdKML22Data(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getDataExtension()
Returns the value of the property that maps to the
DataExtension element. |
String |
getDisplayName()
Returns the value of the property that maps to the
displayName element. |
String |
getName()
Returns the value of the property that maps to the
name attribute. |
String |
getValue()
Returns the value of the property that maps to the
value element. |
void |
setDisplayName(String aValue)
Sets the value of the property that maps to the
displayName element. |
void |
setName(String aValue)
Sets the value of the property that maps to the
name attribute. |
void |
setValue(String aValue)
Sets the value of the property that maps to the
value element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty NAME_PROPERTY
name
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty DISPLAY_NAME_PROPERTY
displayName
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty VALUE_PROPERTY
value
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty DATA_EXTENSION_PROPERTY
DataExtension
element.
The possible values for this property are instances of List<Object>
.public TLcdKML22Data()
public TLcdKML22Data(TLcdDataType aType)
public String getName()
name
attribute.NAME_PROPERTY
property.public void setName(String aValue)
name
attribute.aValue
- the value to set for the NAME_PROPERTY
property.public String getDisplayName()
displayName
element.DISPLAY_NAME_PROPERTY
property.public void setDisplayName(String aValue)
displayName
element.aValue
- the value to set for the DISPLAY_NAME_PROPERTY
property.public String getValue()
value
element.VALUE_PROPERTY
property.public void setValue(String aValue)
value
element.aValue
- the value to set for the VALUE_PROPERTY
property.public List<Object> getDataExtension()
DataExtension
element.DATA_EXTENSION_PROPERTY
property.