Package com.helger.html.meta
Enum EMetaElementType
- java.lang.Object
-
- java.lang.Enum<EMetaElementType>
-
- com.helger.html.meta.EMetaElementType
-
- All Implemented Interfaces:
Serializable,Comparable<EMetaElementType>
public enum EMetaElementType extends Enum<EMetaElementType>
An enumeration with all meta element types. The type defines the layout of the meta element.- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARSETHTML5 charset directiveDOCUMENT_LEVELDocument-level metadataPRAGMA_DIRECTIVEPragma directive - HTTP equivalent
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.helger.xml.microdom.IMicroQNamegetAttrName()booleanisMultilingual()static EMetaElementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EMetaElementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT_LEVEL
public static final EMetaElementType DOCUMENT_LEVEL
Document-level metadata
-
PRAGMA_DIRECTIVE
public static final EMetaElementType PRAGMA_DIRECTIVE
Pragma directive - HTTP equivalent
-
CHARSET
public static final EMetaElementType CHARSET
HTML5 charset directive
-
-
Method Detail
-
values
public static EMetaElementType[] 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 (EMetaElementType c : EMetaElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMetaElementType 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
-
getAttrName
@Nonnull public com.helger.xml.microdom.IMicroQName getAttrName()
- Returns:
- the HTML attribute name to use. Never
null.
-
isMultilingual
public boolean isMultilingual()
-
-