public static enum HtmlParserFactory.AttributeOptions extends Enum<HtmlParserFactory.AttributeOptions>
HtmlParser
using
HtmlParserFactory.createParserInAttribute(HtmlParser.ATTR_TYPE,
boolean, Set)
Enum Constant and Description |
---|
JS_QUOTED
Indicates that the attribute value is Javascript-quoted.
|
URL_PARTIAL
Indicates the attribute value is only a part of a URL as opposed to a
full URL.
|
Modifier and Type | Method and Description |
---|---|
static HtmlParserFactory.AttributeOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlParserFactory.AttributeOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlParserFactory.AttributeOptions JS_QUOTED
HtmlParser.ATTR_TYPE.JS
- and only when the attribute is also
HTML quoted.public static final HtmlParserFactory.AttributeOptions URL_PARTIAL
HtmlParser.ATTR_TYPE.URI
.public static HtmlParserFactory.AttributeOptions[] values()
for (HtmlParserFactory.AttributeOptions c : HtmlParserFactory.AttributeOptions.values()) System.out.println(c);
public static HtmlParserFactory.AttributeOptions 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–2017 Google. All rights reserved.