Enum SanitizeMode
- java.lang.Object
-
- java.lang.Enum<SanitizeMode>
-
- org.apache.myfaces.tobago.sanitizer.SanitizeMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SanitizeMode>
public enum SanitizeMode extends Enum<SanitizeMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SanitizeMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SanitizeMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
auto
public static final SanitizeMode auto
-
never
public static final SanitizeMode never
-
-
Field Detail
-
AUTO
public static final String AUTO
- See Also:
- Constant Field Values
-
NEVER
public static final String NEVER
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SanitizeMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SanitizeMode c : SanitizeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SanitizeMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-