package de.micromata.opengis.kml.v_2_2_0;

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

* <listitemtype>
* <p>
* Specifies how a Feature is displayed in the list view. Possible values are: check
* (default) - The Feature's visibility is tied to its item's checkbox. radioFolder
* - When specified for a Container, only one of the Container's items is visible at
* a time checkOffOnly - When specified for a Container or Network Link, prevents all
* items from being made visible at once—that is, the user can turn everything in the
* Container or Network Link off but cannot turn everything on at the same time. This
* setting is useful for Containers or Network Links containing large amounts of data.
* checkHideChildren - Use a normal checkbox for visibility but do not display the
* Container or Network Link's children in the list view. A checkbox allows the user
* to toggle visibility of the child objects in the viewer.
* </p>

@XmlType(name = "listItemTypeEnumType")
public enum ListItemType {

private final String value;

ListItemType(String v) {
value = v;

public String value() {
return value;

public static ListItemType fromValue(String v) {
for (ListItemType c: ListItemType.values()) {
if (c.value.equals(v)) {
return c;
throw new IllegalArgumentException(v);