org.w3._1998.math.mathml.Infinity 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 infinity.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="infinity">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="infinity"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "infinity")
@XmlEnum
public enum Infinity {
@XmlEnumValue("infinity")
INFINITY("infinity");
private final String value;
Infinity(String v) {
value = v;
}
public static Infinity fromValue(String v) {
for (Infinity c: Infinity.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
public String value() {
return value;
}
}