org.apache.cxf.xkms.model.xkms.KeyBindingEnum Maven / Gradle / Ivy
package org.apache.cxf.xkms.model.xkms;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for KeyBindingEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="KeyBindingEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
* <enumeration value="http://www.w3.org/2002/03/xkms#Valid"/>
* <enumeration value="http://www.w3.org/2002/03/xkms#Invalid"/>
* <enumeration value="http://www.w3.org/2002/03/xkms#Indeterminate"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "KeyBindingEnum")
@XmlEnum
public enum KeyBindingEnum {
@XmlEnumValue("http://www.w3.org/2002/03/xkms#Valid")
HTTP_WWW_W_3_ORG_2002_03_XKMS_VALID("http://www.w3.org/2002/03/xkms#Valid"),
@XmlEnumValue("http://www.w3.org/2002/03/xkms#Invalid")
HTTP_WWW_W_3_ORG_2002_03_XKMS_INVALID("http://www.w3.org/2002/03/xkms#Invalid"),
@XmlEnumValue("http://www.w3.org/2002/03/xkms#Indeterminate")
HTTP_WWW_W_3_ORG_2002_03_XKMS_INDETERMINATE("http://www.w3.org/2002/03/xkms#Indeterminate");
private final String value;
KeyBindingEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static KeyBindingEnum fromValue(String v) {
for (KeyBindingEnum c: KeyBindingEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy