public enum TagType extends Enum<TagType>
| Enum Constant and Description |
|---|
CLOSING
Closing tag of a spanning code or closing tag for a marker.
|
OPENING
Opening tag of a spanning code or opening tag for a marker.
|
STANDALONE
Standalone marker for a standalone code.
|
| Modifier and Type | Method and Description |
|---|---|
static TagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagType OPENING
For example, the tag representing the start tag of an HTML bold element.
public static final TagType CLOSING
For example, the tag representing the end tag of an HTML bold element.
public static TagType[] values()
for (TagType c : TagType.values()) System.out.println(c);
public static TagType 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 © 2020. All rights reserved.