public enum TextType extends Enum<TextType>
Enum Constant and Description |
---|
CDATA
CDATA Text node (<![CDATA[text]]>).
|
COMMENT
Comment Text node (<!--text-->).
|
ENTITY
Character Entity Text node (&xx;).
|
TEXT
Raw text node.
|
Modifier and Type | Method and Description |
---|---|
static TextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextType TEXT
public static final TextType CDATA
public static final TextType COMMENT
public static final TextType ENTITY
public static TextType[] values()
for (TextType c : TextType.values()) System.out.println(c);
public static TextType 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.