2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2023.03.17 at 05:31:44 PM GMT
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;
16 * Java class for FilterBy.
19 * The following schema fragment specifies the expected content contained within
24 * <simpleType name="FilterBy">
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
26 * <enumeration value="byLabel"/>
27 * <enumeration value="byScore"/>
28 * <enumeration value="byAttribute"/>
34 @XmlType(name = "FilterBy", namespace = "www.jalview.org/colours")
39 @XmlEnumValue("byLabel")
40 BY_LABEL("byLabel"), @XmlEnumValue("byScore")
41 BY_SCORE("byScore"), @XmlEnumValue("byAttribute")
42 BY_ATTRIBUTE("byAttribute");
44 private final String value;
56 public static FilterBy fromValue(String v)
58 for (FilterBy c : FilterBy.values())
60 if (c.value.equals(v))
65 throw new IllegalArgumentException(v);