org.w3._1998.math.mathml.Thickness Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legislation-gov-uk Show documentation
Show all versions of legislation-gov-uk Show documentation
Java library for consuming the Legislation.gov.uk API
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.08.07 at 06:17:52 PM CEST
//
package org.w3._1998.math.mathml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for thickness.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="thickness">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="thin"/>
* <enumeration value="medium"/>
* <enumeration value="thick"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "thickness")
@XmlEnum
public enum Thickness {
@XmlEnumValue("thin")
THIN("thin"),
@XmlEnumValue("medium")
MEDIUM("medium"),
@XmlEnumValue("thick")
THICK("thick");
private final String value;
Thickness(String v) {
value = v;
}
public static Thickness fromValue(String v) {
for (Thickness c: Thickness.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
public String value() {
return value;
}
}