public static enum JavaUtil.Separators extends Enum<JavaUtil.Separators>
Enum Constant and Description |
---|
BEGIN_ARRAY |
BEGIN_COMPOSITE |
BEGIN_GROUP |
BEGIN_SET |
END_ARRAY |
END_COMPOSITE |
END_GROUP |
END_SET |
ENTRY |
FIELD |
KEY_VALUE |
Modifier and Type | Field and Description |
---|---|
char |
symbol |
Modifier and Type | Method and Description |
---|---|
void |
appendToGeneratedBuilder(StringBuilder builder,
String indent,
String builderName)
Add separator to a generated append to a
StringBuilder . |
String |
toString() |
static JavaUtil.Separators |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaUtil.Separators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaUtil.Separators BEGIN_GROUP
public static final JavaUtil.Separators END_GROUP
public static final JavaUtil.Separators BEGIN_COMPOSITE
public static final JavaUtil.Separators END_COMPOSITE
public static final JavaUtil.Separators BEGIN_SET
public static final JavaUtil.Separators END_SET
public static final JavaUtil.Separators BEGIN_ARRAY
public static final JavaUtil.Separators END_ARRAY
public static final JavaUtil.Separators FIELD
public static final JavaUtil.Separators KEY_VALUE
public static final JavaUtil.Separators ENTRY
public static JavaUtil.Separators[] values()
for (JavaUtil.Separators c : JavaUtil.Separators.values()) System.out.println(c);
public static JavaUtil.Separators 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 void appendToGeneratedBuilder(StringBuilder builder, String indent, String builderName)
StringBuilder
.builder
- the code generation builder to which information should be addedindent
- the current generated code indentationbuilderName
- of the generated StringBuilder to which separator should be addedpublic String toString()
toString
in class Enum<JavaUtil.Separators>
Copyright © 2013-2020 Real Logic Limited. All Rights Reserved.