|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HtmlParserFactory.AttributeOptions>
com.google.streamhtmlparser.HtmlParserFactory.AttributeOptions
public static enum HtmlParserFactory.AttributeOptions
To provide additional options when creating an HtmlParser
using
HtmlParserFactory.createParserInAttribute(HtmlParser.ATTR_TYPE,
boolean, Set)
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |