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
8 package jalview.xml.binding.jalview;
10 import javax.xml.bind.annotation.XmlEnum;
11 import javax.xml.bind.annotation.XmlEnumValue;
12 import javax.xml.bind.annotation.XmlType;
15 * <p>Java class for NoValueColour.
17 * <p>The following schema fragment specifies the expected content
18 * contained within this class. <pre> &lt;simpleType
19 * name="NoValueColour"&gt; &lt;restriction
20 * base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;enumeration
21 * value="None"/&gt; &lt;enumeration value="Min"/&gt;
22 * &lt;enumeration value="Max"/&gt; &lt;/restriction&gt;
23 * &lt;/simpleType&gt; </pre>
26 @XmlType(name = "NoValueColour", namespace = "www.jalview.org/colours")
28 public enum NoValueColour
32 NONE("None"), @XmlEnumValue("Min")
33 MIN("Min"), @XmlEnumValue("Max")
36 private final String value;
38 NoValueColour(String v)
48 public static NoValueColour fromValue(String v)
50 for (NoValueColour c : NoValueColour.values())
52 if (c.value.equals(v))
57 throw new IllegalArgumentException(v);