Package com.helger.html
Enum EHTMLContentKind
- java.lang.Object
-
- java.lang.Enum<EHTMLContentKind>
-
- com.helger.html.EHTMLContentKind
-
- All Implemented Interfaces:
Serializable,Comparable<EHTMLContentKind>
public enum EHTMLContentKind extends Enum<EHTMLContentKind>
Source: http://www.w3.org/TR/2014/REC-html5-20141028/dom.html#kinds-of-content- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMBEDDEDFLOWHEADINGINTERACTIVEMETADATAPHRASINGSECTIONING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static EHTMLContentKindvalueOf(String name)Returns the enum constant of this type with the specified name.static EHTMLContentKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METADATA
public static final EHTMLContentKind METADATA
-
FLOW
public static final EHTMLContentKind FLOW
-
SECTIONING
public static final EHTMLContentKind SECTIONING
-
HEADING
public static final EHTMLContentKind HEADING
-
PHRASING
public static final EHTMLContentKind PHRASING
-
EMBEDDED
public static final EHTMLContentKind EMBEDDED
-
INTERACTIVE
public static final EHTMLContentKind INTERACTIVE
-
-
Method Detail
-
values
public static EHTMLContentKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EHTMLContentKind c : EHTMLContentKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EHTMLContentKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
@Nonnegative public int getValue()
-
-