Package org.thymeleaf.engine
Enum HTMLElementType
- Object
-
- Enum<HTMLElementType>
-
- org.thymeleaf.engine.HTMLElementType
-
- All Implemented Interfaces:
Serializable
,Comparable<HTMLElementType>
public enum HTMLElementType extends Enum<HTMLElementType>
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ESCAPABLE_RAW_TEXT
FOREIGN
NORMAL
RAW_TEXT
VOID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isVoid()
static HTMLElementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HTMLElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VOID
public static final HTMLElementType VOID
-
RAW_TEXT
public static final HTMLElementType RAW_TEXT
-
ESCAPABLE_RAW_TEXT
public static final HTMLElementType ESCAPABLE_RAW_TEXT
-
FOREIGN
public static final HTMLElementType FOREIGN
-
NORMAL
public static final HTMLElementType NORMAL
-
-
Method Detail
-
values
public static HTMLElementType[] 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 (HTMLElementType c : HTMLElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HTMLElementType 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
-
isVoid
public boolean isVoid()
-
-