public enum ParserMode extends java.lang.Enum<ParserMode>
Enum Constant and Description |
---|
AUTO |
HTML |
HTML_AUTO |
HTML401_STRICT |
HTML401_TRANSITIONAL |
XML_EXTERNAL_ENTITIES_NO_VALIDATION |
XML_NO_EXTERNAL_ENTITIES |
Modifier and Type | Method and Description |
---|---|
static ParserMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParserMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserMode HTML_AUTO
public static final ParserMode HTML401_TRANSITIONAL
public static final ParserMode HTML401_STRICT
public static final ParserMode HTML
public static final ParserMode XML_NO_EXTERNAL_ENTITIES
public static final ParserMode XML_EXTERNAL_ENTITIES_NO_VALIDATION
public static final ParserMode AUTO
public static ParserMode[] values()
for (ParserMode c : ParserMode.values()) System.out.println(c);
public static ParserMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null