
org.docbook.model.RowHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docbook-model Show documentation
Show all versions of docbook-model Show documentation
Alpha system commons library
The newest version!
package org.docbook.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for rowheader.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="rowheader">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="firstcol"/>
* <enumeration value="norowheader"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "rowheader")
@XmlEnum
public enum RowHeader {
@XmlEnumValue("firstcol")
FIRST_COL("firstcol"),
@XmlEnumValue("norowheader")
NO_ROW_HEADER("norowheader");
private final String value;
RowHeader(String v) {
value = v;
}
public String value() {
return value;
}
public static RowHeader fromValue(String v) {
for (RowHeader c: RowHeader.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy