de.micromata.opengis.kml.v_2_2_0.SchemaData Maven / Gradle / Ivy
Show all versions of JavaAPIforKml Show documentation
package de.micromata.opengis.kml.v_2_2_0;
import de.micromata.opengis.kml.v_2_2_0.annotations.Obvious;
import de.micromata.opengis.kml.v_2_2_0.gx.SimpleArrayData;
import jakarta.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* {@code }
*
* The {@code } 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 {@code } 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.
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SchemaDataType", propOrder = {
"simpleData",
"schemaDataExtension"
})
@XmlRootElement(name = "SchemaData", namespace = "http://www.opengis.net/kml/2.2")
public class SchemaData
extends AbstractObject
implements Cloneable
{
/**
* {@code }
*
* {@code } 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 {@code } element. Here is an example of defining two custom data
* elements: {@code Easy trail
* Pi in the sky 3.14159
* 10 Point
* coordinates-122.000,37.002 Difficult
* trail Mount Everest 347.45
* 10000
*Point coordinates-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 {@code } element.
*
*
*
*
*/
@XmlElement(name = "SimpleData")
protected List simpleData;
/**
* {@code