Package org.opencms.gwt.client.util
Enum CmsDomUtil.Tag
- java.lang.Object
-
- java.lang.Enum<CmsDomUtil.Tag>
-
- org.opencms.gwt.client.util.CmsDomUtil.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsDomUtil.Tag>
- Enclosing class:
- CmsDomUtil
public static enum CmsDomUtil.Tag extends java.lang.Enum<CmsDomUtil.Tag>
HTML Tags.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsDomUtil.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsDomUtil.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
a
public static final CmsDomUtil.Tag a
HTML Tag.
-
ALL
public static final CmsDomUtil.Tag ALL
HTML Tag.
-
b
public static final CmsDomUtil.Tag b
HTML Tag.
-
body
public static final CmsDomUtil.Tag body
HTML Tag.
-
div
public static final CmsDomUtil.Tag div
HTML Tag.
-
h1
public static final CmsDomUtil.Tag h1
HTML Tag.
-
h2
public static final CmsDomUtil.Tag h2
HTML Tag.
-
h3
public static final CmsDomUtil.Tag h3
HTML Tag.
-
h4
public static final CmsDomUtil.Tag h4
HTML Tag.
-
iframe
public static final CmsDomUtil.Tag iframe
HTML-Tag.
-
li
public static final CmsDomUtil.Tag li
HTML Tag.
-
p
public static final CmsDomUtil.Tag p
HTML Tag.
-
script
public static final CmsDomUtil.Tag script
HTML Tag.
-
span
public static final CmsDomUtil.Tag span
HTML Tag.
-
table
public static final CmsDomUtil.Tag table
HTML Tag.
-
ul
public static final CmsDomUtil.Tag ul
HTML Tag.
-
-
Method Detail
-
values
public static CmsDomUtil.Tag[] 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 (CmsDomUtil.Tag c : CmsDomUtil.Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsDomUtil.Tag valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-