
org.mixer2.jaxb.xhtml.TAlign Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mixer2 Show documentation
Show all versions of mixer2 Show documentation
Mixer2 is template engine for java.
The newest version!
package org.mixer2.jaxb.xhtml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TAlign.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TAlign">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="left"/>
* <enumeration value="center"/>
* <enumeration value="right"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TAlign")
@XmlEnum
public enum TAlign {
@XmlEnumValue("left")
LEFT("left"),
@XmlEnumValue("center")
CENTER("center"),
@XmlEnumValue("right")
RIGHT("right");
private final String value;
TAlign(String v) {
value = v;
}
public String value() {
return value;
}
public static TAlign fromValue(String v) {
for (TAlign c: TAlign.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy