riv.ehr.patientsummary._1.StrucDocVAlign 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.VAlign.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="StrucDoc.VAlign">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="top"/>
* <enumeration value="middle"/>
* <enumeration value="bottom"/>
* <enumeration value="baseline"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "StrucDoc.VAlign")
@XmlEnum
public enum StrucDocVAlign {
@XmlEnumValue("top")
TOP("top"),
@XmlEnumValue("middle")
MIDDLE("middle"),
@XmlEnumValue("bottom")
BOTTOM("bottom"),
@XmlEnumValue("baseline")
BASELINE("baseline");
private final String value;
StrucDocVAlign(String v) {
value = v;
}
public String value() {
return value;
}
public static StrucDocVAlign fromValue(String v) {
for (StrucDocVAlign c: StrucDocVAlign.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy