public class TLcdKML22SimpleData extends TLcdDataObject
OGC KML Specification description:
Encodes an instance of a user-defined field defined by a referenced kml:SimpleField. The value of kml:SimpleData shall be of the data type defined by the referenced kml:SimpleField. The required name attribute shall be used to identify the kml:SimpleField by name. The identified kml:SimpleField shall be declared within the kml:Schema element that is referenced from the kml:SchemaURL attribute.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
NAME_PROPERTY
Data property that maps to the
name attribute. |
static TLcdDataProperty |
VALUE_PROPERTY
Data property that maps to the value defined by the simple content.
|
Constructor and Description |
---|
TLcdKML22SimpleData() |
TLcdKML22SimpleData(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the value of the property that maps to the
name attribute. |
String |
getValueObject()
Returns the value of the property that maps to the value defined by the simple content.
|
void |
setName(String aValue)
Sets the value of the property that maps to the
name attribute. |
void |
setValueObject(String aValue)
Sets the value of the property that maps to the value defined by the simple content.
|
public static final TLcdDataProperty VALUE_PROPERTY
String
.public static final TLcdDataProperty NAME_PROPERTY
name
attribute.
The possible values for this property are instances of String
.public TLcdKML22SimpleData()
public TLcdKML22SimpleData(TLcdDataType aType)
public String getValueObject()
VALUE_PROPERTY
property.public void setValueObject(String aValue)
aValue
- the value to set for the VALUE_PROPERTY
property.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.