
generated.FontStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.09 at 07:53:44 PM PDT
//
package generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for FontStyle.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FontStyle">
* <restriction base="{}cs">
* <enumeration value="bold"/>
* <enumeration value="emphasis"/>
* <enumeration value="italics"/>
* <enumeration value="underline"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FontStyle")
@XmlEnum
public enum FontStyle {
@XmlEnumValue("bold")
BOLD("bold"),
@XmlEnumValue("emphasis")
EMPHASIS("emphasis"),
@XmlEnumValue("italics")
ITALICS("italics"),
@XmlEnumValue("underline")
UNDERLINE("underline");
private final String value;
FontStyle(String v) {
value = v;
}
public String value() {
return value;
}
public static FontStyle fromValue(String v) {
for (FontStyle c: FontStyle.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy