public static enum HtmlParserFactory.ModeOptions extends Enum<HtmlParserFactory.ModeOptions>
HtmlParser
using
HtmlParserFactory.createParserInMode(HtmlParser.Mode, Set)
Enum Constant and Description |
---|
JS_QUOTED
Indicates that the parser is inside a quoted
String . |
Modifier and Type | Method and Description |
---|---|
static HtmlParserFactory.ModeOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlParserFactory.ModeOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlParserFactory.ModeOptions JS_QUOTED
String
. Only
valid in the HtmlParser.Mode.JS
mode.public static HtmlParserFactory.ModeOptions[] values()
for (HtmlParserFactory.ModeOptions c : HtmlParserFactory.ModeOptions.values()) System.out.println(c);
public static HtmlParserFactory.ModeOptions 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 © 2010–2014 Google. All rights reserved.