de.micromata.opengis.kml.v_2_2_0.Update Maven / Gradle / Ivy
Show all versions of JavaAPIforKml Show documentation
package de.micromata.opengis.kml.v_2_2_0;
import jakarta.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* Update
*
* Specifies an addition, change, or deletion to KML data that has already been loaded
* using the specified URL. The targetHref specifies the .kml or .kmz file whose
* data (within Google Earth) is to be modified. Update is always contained in a
* NetworkLinkControl. Furthermore, the file containing the NetworkLinkControl must
* have been loaded by a NetworkLink. See the "Topics in KML" page on Updates for a
* detailed example of how Update works.
*
*
* With Update, you can specify any number of Change, Create, and Delete tags for
* a .kml file or .kmz archive that has previously been loaded with a network link.
* See Update.
*
*
* Syntax:
* <Update>
* <targetHref>...<targetHref> <!-- URL -->
* <Change>...</Change>
* <Create>...</Create>
* <Delete>...</Delete>
* </Update>
*
* Contained By:
*
*
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UpdateType", propOrder = {
"targetHref",
"createOrDeleteOrChange",
"updateExtension"
})
@XmlRootElement(name = "Update", namespace = "http://www.opengis.net/kml/2.2")
public class Update implements Cloneable
{
/**
* targetHref (required)
*
* A URL that specifies the .kml or .kmz file whose data (within Google Earth) is to
* be modified by an Update element. This KML file must already have been loaded
* via a NetworkLink. In that file, the element to be modified must already have
* an explicit id attribute defined for it.
*
*
* Specifies the texture file to be fetched by Google Earth. This reference can be
* a relative reference to an image file within the .kmz archive, or it can be an absolute
* reference to the file (for example, a URL).
*
*
*
*
*/
@XmlElement(required = true)
@XmlSchemaType(name = "anyURI")
protected String targetHref;
@XmlElements({
@XmlElement(name = "UpdateOpExtensionGroup"),
@XmlElement(name = "Change", type = Change.class),
@XmlElement(name = "Delete", type = Delete.class),
@XmlElement(name = "Create", type = Create.class)
})
protected List