public enum VisitorFeature extends Enum<VisitorFeature>
Enum Constant and Description |
---|
OutputDesensitize |
OutputParameterized |
OutputPrettyFormat |
OutputUCase |
OutputUseInsertValueClauseOriginalString |
Modifier and Type | Field and Description |
---|---|
int |
mask |
Modifier and Type | Method and Description |
---|---|
static int |
config(int features,
VisitorFeature feature,
boolean state) |
static boolean |
isEnabled(int features,
VisitorFeature feature) |
static int |
of(VisitorFeature... features) |
static VisitorFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitorFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisitorFeature OutputUCase
public static final VisitorFeature OutputPrettyFormat
public static final VisitorFeature OutputParameterized
public static final VisitorFeature OutputDesensitize
public static final VisitorFeature OutputUseInsertValueClauseOriginalString
public static VisitorFeature[] values()
for (VisitorFeature c : VisitorFeature.values()) System.out.println(c);
public static VisitorFeature 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 static boolean isEnabled(int features, VisitorFeature feature)
public static int config(int features, VisitorFeature feature, boolean state)
public static int of(VisitorFeature... features)
Copyright © 2013–2017 Alibaba Group. All rights reserved.