Enum INamedParameters.Type
- java.lang.Object
-
- java.lang.Enum<INamedParameters.Type>
-
- org.apache.wicket.request.mapper.parameter.INamedParameters.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<INamedParameters.Type>
- Enclosing interface:
- INamedParameters
public static enum INamedParameters.Type extends Enum<INamedParameters.Type>
A hint where the parameter is read/parsed from.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANUAL
The named parameter is set manually in the application codePATH
The named parameter is read/parsed from the url pathQUERY_STRING
The named parameter is read/parsed from the query string
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static INamedParameters.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static INamedParameters.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUAL
public static final INamedParameters.Type MANUAL
The named parameter is set manually in the application code
-
QUERY_STRING
public static final INamedParameters.Type QUERY_STRING
The named parameter is read/parsed from the query string
-
PATH
public static final INamedParameters.Type PATH
The named parameter is read/parsed from the url path
-
-
Method Detail
-
values
public static INamedParameters.Type[] 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 (INamedParameters.Type c : INamedParameters.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static INamedParameters.Type 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
-
-