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