com.googlecode.androidannotations.helper
Enum IdValidatorHelper.FallbackStrategy
java.lang.Object
java.lang.Enum<IdValidatorHelper.FallbackStrategy>
com.googlecode.androidannotations.helper.IdValidatorHelper.FallbackStrategy
- All Implemented Interfaces:
- Serializable, Comparable<IdValidatorHelper.FallbackStrategy>
- Enclosing class:
- IdValidatorHelper
public static enum IdValidatorHelper.FallbackStrategy
- extends Enum<IdValidatorHelper.FallbackStrategy>
USE_ELEMENT_NAME
public static final IdValidatorHelper.FallbackStrategy USE_ELEMENT_NAME
ALLOW_NO_RES_ID
public static final IdValidatorHelper.FallbackStrategy ALLOW_NO_RES_ID
NEED_RES_ID
public static final IdValidatorHelper.FallbackStrategy NEED_RES_ID
values
public static IdValidatorHelper.FallbackStrategy[] 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 (IdValidatorHelper.FallbackStrategy c : IdValidatorHelper.FallbackStrategy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IdValidatorHelper.FallbackStrategy 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 name
NullPointerException
- if the argument is null
Copyright © 2010-2013. All Rights Reserved.