riv.ehr.patientsummary._1.StrucDocAlign Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for StrucDoc.Align.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="StrucDoc.Align">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="left"/>
* <enumeration value="center"/>
* <enumeration value="right"/>
* <enumeration value="justify"/>
* <enumeration value="char"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "StrucDoc.Align")
@XmlEnum
public enum StrucDocAlign {
@XmlEnumValue("left")
LEFT("left"),
@XmlEnumValue("center")
CENTER("center"),
@XmlEnumValue("right")
RIGHT("right"),
@XmlEnumValue("justify")
JUSTIFY("justify"),
@XmlEnumValue("char")
CHAR("char");
private final String value;
StrucDocAlign(String v) {
value = v;
}
public String value() {
return value;
}
public static StrucDocAlign fromValue(String v) {
for (StrucDocAlign c: StrucDocAlign.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy