public enum HtmlFormat extends Enum<HtmlFormat>
Html.format()
annotation.Enum Constant and Description |
---|
HTML
Object is serialized to HTML.
|
HTML_CDC
Object is serialized to HTML, use comma-delimited format instead of list.
|
HTML_SDC
Object is serialized to HTML, use space-delimited format instead of list.
|
PLAIN_TEXT
Object is serialized to a String using the
|
XML
Object is serialized to XML.
|
Modifier and Type | Method and Description |
---|---|
static HtmlFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlFormat PLAIN_TEXT
public static final HtmlFormat HTML
public static final HtmlFormat HTML_CDC
public static final HtmlFormat HTML_SDC
public static final HtmlFormat XML
public static HtmlFormat[] values()
for (HtmlFormat c : HtmlFormat.values()) System.out.println(c);
public static HtmlFormat 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 © 2016–2019 The Apache Software Foundation. All rights reserved.