All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mixer2.jaxb.xhtml.ImgAlign Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show 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 ImgAlign. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="ImgAlign">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="top"/>
 *     <enumeration value="middle"/>
 *     <enumeration value="bottom"/>
 *     <enumeration value="left"/>
 *     <enumeration value="right"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ImgAlign") @XmlEnum public enum ImgAlign { @XmlEnumValue("top") TOP("top"), @XmlEnumValue("middle") MIDDLE("middle"), @XmlEnumValue("bottom") BOTTOM("bottom"), @XmlEnumValue("left") LEFT("left"), @XmlEnumValue("right") RIGHT("right"); private final String value; ImgAlign(String v) { value = v; } public String value() { return value; } public static ImgAlign fromValue(String v) { for (ImgAlign c: ImgAlign.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy