public enum CustomTagSource extends java.lang.Enum<CustomTagSource>
| Enum Constant and Description |
|---|
HEADER
HTTP header.
|
NONE
Nothing.
|
PARAMETER
HTTP request parameter.
|
REQUEST
HTTP request attribute.
|
SESSION
HTTP session attribute.
|
| Modifier and Type | Field and Description |
|---|---|
static CustomTagSource[] |
SOURCES
All possible sources.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomTagSource |
findTagSourceByName(java.lang.String name)
Searches for source by given name.
|
java.lang.String |
getName() |
java.lang.String |
toString() |
static CustomTagSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomTagSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomTagSource NONE
public static final CustomTagSource HEADER
public static final CustomTagSource REQUEST
public static final CustomTagSource SESSION
public static final CustomTagSource PARAMETER
public static final CustomTagSource[] SOURCES
public static CustomTagSource[] values()
for (CustomTagSource c : CustomTagSource.values()) System.out.println(c);
public static CustomTagSource valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public static CustomTagSource findTagSourceByName(java.lang.String name)
name - Source namepublic java.lang.String toString()
toString in class java.lang.Enum<CustomTagSource>Copyright © 2010-2020 anotheria.net. All Rights Reserved.