de.micromata.opengis.kml.v_2_2_0.gx.PlayMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaAPIforKml Show documentation
Show all versions of JavaAPIforKml Show documentation
This is JavaAPIforKMml, Micromata's library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. It is written entirely in Java and makes heavy use of JAXB.
package de.micromata.opengis.kml.v_2_2_0.gx;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for playModeEnumType.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
* }
*
*/
@XmlType(name = "playModeEnumType")
@XmlEnum
public enum PlayMode {
@XmlEnumValue("pause")
PAUSE("pause");
private final String value;
PlayMode(String v) {
value = v;
}
public String value() {
return value;
}
public static PlayMode fromValue(String v) {
for (PlayMode c: PlayMode.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}