The can be a full URL, a reference to a Schema ID defined in an external
KML file, or a reference to a Schema ID defined in the same KML file. All of the
following specifications are acceptable:
The Schema element is always a child of Document. The ExtendedData element is a
child of the Feature that contains the custom data.
This element is used in conjunction with to add typed custom data to a
KML Feature. The Schema element (identified by the schemaUrl attribute) declares
the custom data type. The actual data objects ("instances" of the custom data) are
defined using the SchemaData element.
This element assigns a value to the custom data field
identified by the name attribute. The type and name of this custom data field are
declared in the element. Here is an example of defining two custom data
elements: Easy trailPi in the sky3.1415910-122.000,37.002Difficult
trailMount Everest347.4510000-122.000,37.002
Here is an example of defining two custom data elements:
This element assigns a value to the custom data field identified by the name attribute.
The type and name of this custom data field are declared in the element.
public SimpleDatacreateAndAddSimpleData(java.lang.String name)
Creates a new instance of SimpleData and adds it to simpleData.
This method is a short version for:
SimpleData simpleData = new SimpleData();
this.getSimpleData().add(simpleData);
Parameters:
name - required parameter
setSimpleData
public void setSimpleData(java.util.List<SimpleData> simpleData)