public enum Feature extends Enum<Feature>
Modifier and Type | Field and Description |
---|---|
int |
mask |
Modifier and Type | Method and Description |
---|---|
static int |
config(int features,
Feature feature,
boolean state) |
int |
getMask() |
static boolean |
isEnabled(int features,
Feature feature) |
static int |
of(Feature[] features) |
static Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature AutoCloseSource
public static final Feature AllowComment
public static final Feature AllowUnQuotedFieldNames
public static final Feature AllowSingleQuotes
public static final Feature InternFieldNames
public static final Feature AllowISO8601DateFormat
public static final Feature AllowArbitraryCommas
public static final Feature UseBigDecimal
public static final Feature IgnoreNotMatch
public static final Feature SortFeidFastMatch
public static final Feature DisableASM
public static final Feature DisableCircularReferenceDetect
public static final Feature InitStringFieldAsEmpty
public static final Feature SupportArrayToBean
public static final Feature OrderedField
public static final Feature DisableSpecialKeyDetect
public static final Feature UseObjectArray
public static final Feature SupportNonPublicField
public static final Feature IgnoreAutoType
public static final Feature DisableFieldSmartMatch
public static final Feature SupportAutoType
public static final Feature NonStringKeyAsString
public static final Feature CustomMapDeserializer
public static final Feature ErrorOnEnumNotMatch
public static final Feature SafeMode
public static final Feature TrimStringFieldValue
public static final Feature UseNativeJavaObject
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature 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 nullpublic final int getMask()
public static boolean isEnabled(int features, Feature feature)
public static int config(int features, Feature feature, boolean state)
public static int of(Feature[] features)
Copyright © 2012–2022 Alibaba Group. All rights reserved.