public static enum IdValidatorHelper.FallbackStrategy extends java.lang.Enum<IdValidatorHelper.FallbackStrategy>
Enum Constant and Description |
---|
ALLOW_NO_RES_ID |
NEED_RES_ID |
USE_ELEMENT_NAME |
Modifier and Type | Method and Description |
---|---|
static IdValidatorHelper.FallbackStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdValidatorHelper.FallbackStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdValidatorHelper.FallbackStrategy USE_ELEMENT_NAME
public static final IdValidatorHelper.FallbackStrategy ALLOW_NO_RES_ID
public static final IdValidatorHelper.FallbackStrategy NEED_RES_ID
public static IdValidatorHelper.FallbackStrategy[] values()
for (IdValidatorHelper.FallbackStrategy c : IdValidatorHelper.FallbackStrategy.values()) System.out.println(c);
public static IdValidatorHelper.FallbackStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010-2014. All Rights Reserved.