com.sun.xml.wss.saml.internal.saml11.jaxb20.DecisionType Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.09.12 at 08:53:21 PM IST
//
package com.sun.xml.wss.saml.internal.saml11.jaxb20;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
/**
* Java class for DecisionType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="DecisionType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Permit"/>
* <enumeration value="Deny"/>
* <enumeration value="Indeterminate"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum DecisionType {
@XmlEnumValue("Permit")
PERMIT("Permit"),
@XmlEnumValue("Deny")
DENY("Deny"),
@XmlEnumValue("Indeterminate")
INDETERMINATE("Indeterminate");
private final String value;
DecisionType(String v) {
value = v;
}
public String value() {
return value;
}
public static DecisionType fromValue(String v) {
for (DecisionType c: DecisionType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}