public static enum RenderContext.CastMode extends Enum<RenderContext.CastMode>
RenderContext.castMode()
Enum Constant and Description |
---|
ALWAYS
Cast all bind values to their respective type.
|
DEFAULT
Cast when needed.
|
NEVER
Cast no bind values to their respective type.
|
SOME
Cast bind values only in some dialects.
|
Modifier and Type | Method and Description |
---|---|
static RenderContext.CastMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderContext.CastMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderContext.CastMode ALWAYS
public static final RenderContext.CastMode NEVER
public static final RenderContext.CastMode SOME
public static final RenderContext.CastMode DEFAULT
public static RenderContext.CastMode[] values()
for (RenderContext.CastMode c : RenderContext.CastMode.values()) System.out.println(c);
public static RenderContext.CastMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All Rights Reserved.