2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2021.08.30 at 11:05:22 AM BST
9 package jalview.xml.binding.jalview;
11 import javax.xml.bind.annotation.XmlEnum;
12 import javax.xml.bind.annotation.XmlEnumValue;
13 import javax.xml.bind.annotation.XmlType;
17 * <p>Java class for NoValueColour.
19 * <p>The following schema fragment specifies the expected content contained within this class.
21 * &lt;simpleType name="NoValueColour"&gt;
22 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
23 * &lt;enumeration value="None"/&gt;
24 * &lt;enumeration value="Min"/&gt;
25 * &lt;enumeration value="Max"/&gt;
26 * &lt;/restriction&gt;
27 * &lt;/simpleType&gt;
31 @XmlType(name = "NoValueColour", namespace = "www.jalview.org/colours")
33 public enum NoValueColour {
41 private final String value;
43 NoValueColour(String v) {
47 public String value() {
51 public static NoValueColour fromValue(String v) {
52 for (NoValueColour c: NoValueColour.values()) {
53 if (c.value.equals(v)) {
57 throw new IllegalArgumentException(v);