- Summary:
- Nested |
- Enum Constants |
- Field |
- Method
- Detail:
- Enum Constants |
- Field |
- Method
com.supermap.services.wms.request
Enum ValidateState
- java.lang.Object
-
- java.lang.Enum<ValidateState>
-
- com.supermap.services.wms.request.ValidateState
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ValidateState>
public enum ValidateState extends java.lang.Enum<ValidateState>
The state of the WMS request parameter validation.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description ARGUMENT_ABSENCEThe parameter is missing.ILLEGAL_ARGUMENT_VALUEWrong parameter value.NOT_APPLICABLENot applicable.SUCCESSSucceed to verify.
-
Method Summary
Methods Modifier and Type Method and Description static ValidateStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ValidateState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ValidateState SUCCESS
Succeed to verify.
-
ILLEGAL_ARGUMENT_VALUE
public static final ValidateState ILLEGAL_ARGUMENT_VALUE
Wrong parameter value.
-
ARGUMENT_ABSENCE
public static final ValidateState ARGUMENT_ABSENCE
The parameter is missing.
-
NOT_APPLICABLE
public static final ValidateState NOT_APPLICABLE
Not applicable. This value is returned when there is a regular expression validation in the operation definition parameter that does not pass. For example, to verify the GetCile parameters of the class to verify the GetCapabilities operation parameters, will return this value.
-
-
Method Detail
-
values
public static ValidateState[] 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 (ValidateState c : ValidateState.values()) System.out.println(c);- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidateState valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-
- Summary:
- Nested |
- Enum Constants |
- Field |
- Method
- Detail:
- Enum Constants |
- Field |
- Method