de.micromata.opengis.kml.v_2_2_0.StyleMap Maven / Gradle / Ivy
package de.micromata.opengis.kml.v_2_2_0;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import de.micromata.opengis.kml.v_2_2_0.annotations.Obvious;
/**
*
*
* A maps between two different Styles. Typically a element is
* used to provide separate normal and highlighted styles for a placemark, so that
* the highlighted version appears when the user mouses over the icon in Google Earth.
*
*
* Syntax:
* <StyleMap id="ID">
* <!-- extends StyleSelector -->
* <!-- elements specific to StyleMap -->
* <Pair id="ID">
* <key>normal</key> <!-- kml:styleStateEnum: normal or highlight -->
* <styleUrl>...</styleUrl> or <Style>...</Style>
* </Pair>
* </StyleMap>
*
* Extends:
* @see:
*
* Contained By:
* @see:
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StyleMapType", propOrder = {
"pair",
"styleMapSimpleExtension",
"styleMapObjectExtension"
})
@XmlRootElement(name = "StyleMap", namespace = "http://www.opengis.net/kml/2.2")
public class StyleMap
extends StyleSelector
implements Cloneable
{
/**
* (required)
*
* Defines a key/value pair that maps a mode (normal or highlight) to the predefined
* . contains two elements (both are required): , which identifies
* the key or
*
*
*
*
*
*/
@XmlElement(name = "Pair")
protected List pair;
@XmlElement(name = "StyleMapSimpleExtensionGroup")
@XmlSchemaType(name = "anySimpleType")
protected List