de.micromata.opengis.kml.v_2_2_0.Pair 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 jakarta.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* {@code } (required)
*
* Defines a key/value pair that maps a mode (normal or highlight) to the predefined
* {@code }. {@code } contains two elements (both are required): {@code }, which identifies
* the key {@code } or {@code
* }
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PairType", propOrder = {
"key",
"styleUrl",
"styleSelector",
"pairSimpleExtension",
"pairObjectExtension"
})
@XmlRootElement(name = "Pair", namespace = "http://www.opengis.net/kml/2.2")
public class Pair
extends AbstractObject
implements Cloneable
{
/**
* StyleState
*
* normal, highlight
*
*
* See Also:
* See {@code }
*
*
*
*/
@XmlElement(defaultValue = "normal")
protected StyleState key;
/**
* {@code }
*
* URL of a {@code
http://someserver.com/somestylefile.xml#restaurant
* eateries.kml#my-lunch-spot }
*
*
*
*
*/
@XmlSchemaType(name = "anyURI")
protected String styleUrl;
/**
* {@code }
*
* One or more Styles and StyleMaps can be defined to customize the appearance of any
* element derived from Feature or of the Geometry in a Placemark. (See {@code },
* {@code }, {@code }, and the styles derived from {@code }.) A style
* defined within a Feature is called an "inline style" and applies only to the Feature
* that contains it. A style defined as the child of a {@code } is called a "shared
* style." A shared style must have an id defined for it. This id is referenced by
* one or more Features within the {@code }. In cases where a style element is defined
* both in a shared style and in an inline style for a Feature—that is, a Folder, GroundOverlay,
* NetworkLink, Placemark, or ScreenOverlay—the value for the Feature's inline style
* takes precedence over the value for the shared style.
*
*
* Syntax:
* <!-- abstract element; do not create -->
* <!-- StyleSelector id="ID" --> <!-- Style,StyleMap -->
* <!-- /StyleSelector -->
*
* Extends:
*
*
* Extended By:
*
*
*
*
*
*/
@XmlElementRef(name = "AbstractStyleSelectorGroup", namespace = "http://www.opengis.net/kml/2.2", required = false)
protected StyleSelector styleSelector;
@XmlElement(name = "PairSimpleExtensionGroup")
@XmlSchemaType(name = "anySimpleType")
protected List