All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.micromata.opengis.kml.v_2_2_0.ColorMode Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.0.4
Show newest version

package de.micromata.opengis.kml.v_2_2_0;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * ColorMode
 * 

* normal, random *

* * See Also: * See any element that extends {@code } * * * */ @XmlType(name = "colorModeEnumType") @XmlEnum public enum ColorMode { @XmlEnumValue("normal") NORMAL("normal"), @XmlEnumValue("random") RANDOM("random"); private final String value; ColorMode(String v) { value = v; } public String value() { return value; } public static ColorMode fromValue(String v) { for (ColorMode c: ColorMode.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy