org.w3._1998.math.mathml.NamedSpace 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
The newest version!
//
// 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 named-space.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="named-space">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="veryverythinmathspace"/>
* <enumeration value="verythinmathspace"/>
* <enumeration value="thinmathspace"/>
* <enumeration value="mediummathspace"/>
* <enumeration value="thickmathspace"/>
* <enumeration value="verythickmathspace"/>
* <enumeration value="veryverythickmathspace"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "named-space")
@XmlEnum
public enum NamedSpace {
@XmlEnumValue("veryverythinmathspace")
VERYVERYTHINMATHSPACE("veryverythinmathspace"),
@XmlEnumValue("verythinmathspace")
VERYTHINMATHSPACE("verythinmathspace"),
@XmlEnumValue("thinmathspace")
THINMATHSPACE("thinmathspace"),
@XmlEnumValue("mediummathspace")
MEDIUMMATHSPACE("mediummathspace"),
@XmlEnumValue("thickmathspace")
THICKMATHSPACE("thickmathspace"),
@XmlEnumValue("verythickmathspace")
VERYTHICKMATHSPACE("verythickmathspace"),
@XmlEnumValue("veryverythickmathspace")
VERYVERYTHICKMATHSPACE("veryverythickmathspace");
private final String value;
NamedSpace(String v) {
value = v;
}
public static NamedSpace fromValue(String v) {
for (NamedSpace c: NamedSpace.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
public String value() {
return value;
}
}