public enum EncodingMode extends Enum<EncodingMode>
| Enum Constant and Description |
|---|
DYNAMIC_MODE
dynamically codegen
|
REFLECTION_MODE
decoding only using reflection, do not need code generation
|
STATIC_MODE
statically codegen
|
| Modifier and Type | Method and Description |
|---|---|
static EncodingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingMode DYNAMIC_MODE
public static final EncodingMode STATIC_MODE
public static final EncodingMode REFLECTION_MODE
public static EncodingMode[] values()
for (EncodingMode c : EncodingMode.values()) System.out.println(c);
public static EncodingMode 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 © 2019. All rights reserved.