public static enum HtmlPageItem.Element extends Enum<HtmlPageItem.Element>
enum that defines the possible HTML elements for a page item| Modifier and Type | Method and Description |
|---|---|
static @Nullable HtmlPageItem.Element |
fromString(String name) |
String[] |
getAttributeNames() |
String |
getName() |
String |
toString() |
static HtmlPageItem.Element |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlPageItem.Element[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlPageItem.Element SCRIPT
public static final HtmlPageItem.Element LINK
public static final HtmlPageItem.Element META
public static HtmlPageItem.Element[] values()
for (HtmlPageItem.Element c : HtmlPageItem.Element.values()) System.out.println(c);
public static HtmlPageItem.Element 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 null@Nullable public static @Nullable HtmlPageItem.Element fromString(String name)
public String getName()
public String[] getAttributeNames()
public String toString()
toString in class Enum<HtmlPageItem.Element>Copyright © 2020. All rights reserved.