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

de.micromata.opengis.kml.v_2_2_0.Units 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;


/**
 * Units
 * 

* fraction, pixels, insetPixels *

* * See Also: * See {@code } in {@code }, {@code } * * * */ @XmlType(name = "unitsEnumType") @XmlEnum public enum Units { @XmlEnumValue("fraction") FRACTION("fraction"), @XmlEnumValue("pixels") PIXELS("pixels"), @XmlEnumValue("insetPixels") INSET_PIXELS("insetPixels"); private final String value; Units(String v) { value = v; } public String value() { return value; } public static Units fromValue(String v) { for (Units c: Units.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy