Package org.apache.fulcrum.parser
Enum ValueParser.URLCaseFolding
- java.lang.Object
-
- java.lang.Enum<ValueParser.URLCaseFolding>
-
- org.apache.fulcrum.parser.ValueParser.URLCaseFolding
-
- All Implemented Interfaces:
Serializable
,Comparable<ValueParser.URLCaseFolding>
- Enclosing interface:
- ValueParser
public static enum ValueParser.URLCaseFolding extends Enum<ValueParser.URLCaseFolding>
Possible values for the URL folding setting
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueParser.URLCaseFolding
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValueParser.URLCaseFolding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSET
public static final ValueParser.URLCaseFolding UNSET
No folding set
-
NONE
public static final ValueParser.URLCaseFolding NONE
No folding
-
LOWER
public static final ValueParser.URLCaseFolding LOWER
Fold to lower case
-
UPPER
public static final ValueParser.URLCaseFolding UPPER
Fold to upper case
-
-
Method Detail
-
values
public static ValueParser.URLCaseFolding[] 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 (ValueParser.URLCaseFolding c : ValueParser.URLCaseFolding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueParser.URLCaseFolding 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
-
-