public enum MarkupType extends Enum<MarkupType>
| Enum Constant and Description |
|---|
JAVASCRIPT |
NONE |
TEXT |
XHTML |
| Modifier and Type | Method and Description |
|---|---|
static MarkupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarkupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkupType NONE
public static final MarkupType XHTML
public static final MarkupType TEXT
public static final MarkupType JAVASCRIPT
public static MarkupType[] values()
for (MarkupType c : MarkupType.values()) System.out.println(c);
public static MarkupType 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. All rights reserved.