![JAR search and dependency download from the Maven repository](/logo.png)
org.docbook.model.RevisionFlag 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 revisionflag.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="revisionflag">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="changed"/>
* <enumeration value="added"/>
* <enumeration value="deleted"/>
* <enumeration value="off"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "revisionflag")
@XmlEnum
public enum RevisionFlag {
@XmlEnumValue("changed")
CHANGED("changed"),
@XmlEnumValue("added")
ADDED("added"),
@XmlEnumValue("deleted")
DELETED("deleted"),
@XmlEnumValue("off")
OFF("off");
private final String value;
RevisionFlag(String v) {
value = v;
}
public String value() {
return value;
}
public static RevisionFlag fromValue(String v) {
for (RevisionFlag c: RevisionFlag.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy