public static enum HtmlUtils.META_REDIRECT_TYPE extends Enum<HtmlUtils.META_REDIRECT_TYPE>
content HTML
attribute of the meta HTML tag. Used by
HtmlUtils.parseContentAttributeForUrl(String).
The values are:
NONE if it does not contain a URL in the expected format.
URL_START if it contains a URL but hasn't seen any of
its contents.
URL if it contains a URL and has seen at least some of
its contents.
| Modifier and Type | Method and Description |
|---|---|
static HtmlUtils.META_REDIRECT_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlUtils.META_REDIRECT_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlUtils.META_REDIRECT_TYPE NONE
public static final HtmlUtils.META_REDIRECT_TYPE URL_START
public static final HtmlUtils.META_REDIRECT_TYPE URL
public static HtmlUtils.META_REDIRECT_TYPE[] values()
for (HtmlUtils.META_REDIRECT_TYPE c : HtmlUtils.META_REDIRECT_TYPE.values()) System.out.println(c);
public static HtmlUtils.META_REDIRECT_TYPE 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–2013 Google. All rights reserved.