public static enum AbstractErrorMessage.ContentMode extends Enum<AbstractErrorMessage.ContentMode>
Enum Constant and Description |
---|
HTML
Content mode, where the error contains HTML.
|
PREFORMATTED
Content mode, where the error contains preformatted text.
|
TEXT
Content mode, where the error contains only plain text.
|
Modifier and Type | Method and Description |
---|---|
static AbstractErrorMessage.ContentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractErrorMessage.ContentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractErrorMessage.ContentMode TEXT
public static final AbstractErrorMessage.ContentMode PREFORMATTED
public static final AbstractErrorMessage.ContentMode HTML
public static AbstractErrorMessage.ContentMode[] values()
for (AbstractErrorMessage.ContentMode c : AbstractErrorMessage.ContentMode.values()) System.out.println(c);
public static AbstractErrorMessage.ContentMode 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 nullCopyright © 2023 Vaadin Ltd. All rights reserved.