public enum ResAuthEnum extends Enum<ResAuthEnum>
<simpleType name="ResAuthTypeBase">
<restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
<enumeration value="Container"/>
<enumeration value="Application"/>
<enumeration value="SERVLET"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
APPLICATION |
CONTAINER |
SERVLET |
| Modifier and Type | Method and Description |
|---|---|
static ResAuthEnum |
fromValue(String v) |
String |
value() |
static ResAuthEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResAuthEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResAuthEnum CONTAINER
public static final ResAuthEnum APPLICATION
public static final ResAuthEnum SERVLET
public static ResAuthEnum[] values()
for (ResAuthEnum c : ResAuthEnum.values()) System.out.println(c);
public static ResAuthEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ResAuthEnum fromValue(String v)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.