public enum TextFormatKind extends Enum<TextFormatKind>
| Enum Constant and Description |
|---|
BOOLEAN |
EMPTY |
HTML |
JSON |
NUMBER |
XML |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDocument() |
static TextFormatKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextFormatKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFormatKind EMPTY
public static final TextFormatKind NUMBER
public static final TextFormatKind BOOLEAN
public static final TextFormatKind JSON
public static final TextFormatKind XML
public static final TextFormatKind HTML
public static TextFormatKind[] values()
for (TextFormatKind c : TextFormatKind.values()) System.out.println(c);
public static TextFormatKind 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 boolean isDocument()
Created by Kornél Simon, 2022