Enum ILocaleProvider.LocaleState
- java.lang.Object
-
- java.lang.Enum<ILocaleProvider.LocaleState>
-
- org.hippoecm.frontend.translation.ILocaleProvider.LocaleState
-
- All Implemented Interfaces:
Serializable
,Comparable<ILocaleProvider.LocaleState>
- Enclosing interface:
- ILocaleProvider
public static enum ILocaleProvider.LocaleState extends Enum<ILocaleProvider.LocaleState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLE
DOCUMENT
EXISTS
FOLDER
FOLDER_OPEN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ILocaleProvider.LocaleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ILocaleProvider.LocaleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final ILocaleProvider.LocaleState AVAILABLE
-
EXISTS
public static final ILocaleProvider.LocaleState EXISTS
-
DOCUMENT
public static final ILocaleProvider.LocaleState DOCUMENT
-
FOLDER
public static final ILocaleProvider.LocaleState FOLDER
-
FOLDER_OPEN
public static final ILocaleProvider.LocaleState FOLDER_OPEN
-
-
Method Detail
-
values
public static ILocaleProvider.LocaleState[] 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 (ILocaleProvider.LocaleState c : ILocaleProvider.LocaleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ILocaleProvider.LocaleState 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
-
-