Enum HtmlElements
- java.lang.Object
-
- java.lang.Enum<HtmlElements>
-
- org.apache.myfaces.tobago.renderkit.html.HtmlElements
-
- All Implemented Interfaces:
Serializable
,Comparable<HtmlElements>
public enum HtmlElements extends Enum<HtmlElements>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A
ABBR
ADDRESS
AREA
ARTICLE
ASIDE
AUDIO
B
BASE
BDI
BDO
BLOCKQUOTE
BODY
BR
BUTTON
CANVAS
CAPTION
CITE
CODE
COL
COLGROUP
COMMAND
DATALIST
DD
DEL
DETAILS
DFN
DIV
DL
DT
EM
EMBED
FIELDSET
FIGCAPTION
FIGURE
FOOTER
FORM
H1
H2
H3
H4
H5
H6
HEAD
HEADER
HGROUP
HR
HTML
I
IFRAME
IMG
INPUT
INS
KBD
KEYGEN
LABEL
LEGEND
LI
LINK
MAP
MARK
MENU
META
METER
NAV
NOSCRIPT
OBJECT
OL
OPTGROUP
OPTION
P
PARAM
PRE
PROGRESS
Q
RP
RT
RUBY
S
SAMP
SCRIPT
SECTION
SELECT
SMALL
SOURCE
SPAN
STRONG
STYLE
SUB
SUMMARY
SUP
TABLE
TBODY
TD
TEXTAREA
TFOOT
TH
THEAD
TIME
TITLE
TR
TRACK
U
UL
VAR
VIDEO
WBR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
boolean
isInline()
static boolean
isInline(String name)
boolean
isVoid()
A void HTML elements is an element whose content model never allows it to have contents under any circumstances.static boolean
isVoid(String name)
static HtmlElements
valueOf(String name)
Returns the enum constant of this type with the specified name.static HtmlElements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final HtmlElements A
-
ABBR
public static final HtmlElements ABBR
-
ADDRESS
public static final HtmlElements ADDRESS
-
AREA
public static final HtmlElements AREA
-
ARTICLE
public static final HtmlElements ARTICLE
-
ASIDE
public static final HtmlElements ASIDE
-
AUDIO
public static final HtmlElements AUDIO
-
B
public static final HtmlElements B
-
BASE
public static final HtmlElements BASE
-
BDI
public static final HtmlElements BDI
-
BDO
public static final HtmlElements BDO
-
BLOCKQUOTE
public static final HtmlElements BLOCKQUOTE
-
BODY
public static final HtmlElements BODY
-
BR
public static final HtmlElements BR
-
BUTTON
public static final HtmlElements BUTTON
-
CANVAS
public static final HtmlElements CANVAS
-
CAPTION
public static final HtmlElements CAPTION
-
CITE
public static final HtmlElements CITE
-
CODE
public static final HtmlElements CODE
-
COL
public static final HtmlElements COL
-
COLGROUP
public static final HtmlElements COLGROUP
-
COMMAND
public static final HtmlElements COMMAND
-
DATALIST
public static final HtmlElements DATALIST
-
DD
public static final HtmlElements DD
-
DEL
public static final HtmlElements DEL
-
DETAILS
public static final HtmlElements DETAILS
-
DFN
public static final HtmlElements DFN
-
DIV
public static final HtmlElements DIV
-
DL
public static final HtmlElements DL
-
DT
public static final HtmlElements DT
-
EM
public static final HtmlElements EM
-
EMBED
public static final HtmlElements EMBED
-
FIELDSET
public static final HtmlElements FIELDSET
-
FIGCAPTION
public static final HtmlElements FIGCAPTION
-
FIGURE
public static final HtmlElements FIGURE
-
FOOTER
public static final HtmlElements FOOTER
-
FORM
public static final HtmlElements FORM
-
H1
public static final HtmlElements H1
-
H2
public static final HtmlElements H2
-
H3
public static final HtmlElements H3
-
H4
public static final HtmlElements H4
-
H5
public static final HtmlElements H5
-
H6
public static final HtmlElements H6
-
HEAD
public static final HtmlElements HEAD
-
HEADER
public static final HtmlElements HEADER
-
HGROUP
public static final HtmlElements HGROUP
-
HR
public static final HtmlElements HR
-
HTML
public static final HtmlElements HTML
-
I
public static final HtmlElements I
-
IFRAME
public static final HtmlElements IFRAME
-
IMG
public static final HtmlElements IMG
-
INPUT
public static final HtmlElements INPUT
-
INS
public static final HtmlElements INS
-
KBD
public static final HtmlElements KBD
-
KEYGEN
public static final HtmlElements KEYGEN
-
LABEL
public static final HtmlElements LABEL
-
LEGEND
public static final HtmlElements LEGEND
-
LI
public static final HtmlElements LI
-
LINK
public static final HtmlElements LINK
-
MAP
public static final HtmlElements MAP
-
MARK
public static final HtmlElements MARK
-
MENU
public static final HtmlElements MENU
-
META
public static final HtmlElements META
-
METER
public static final HtmlElements METER
-
NAV
public static final HtmlElements NAV
-
NOSCRIPT
public static final HtmlElements NOSCRIPT
-
OBJECT
public static final HtmlElements OBJECT
-
OL
public static final HtmlElements OL
-
OPTGROUP
public static final HtmlElements OPTGROUP
-
OPTION
public static final HtmlElements OPTION
-
P
public static final HtmlElements P
-
PARAM
public static final HtmlElements PARAM
-
PRE
public static final HtmlElements PRE
-
PROGRESS
public static final HtmlElements PROGRESS
-
Q
public static final HtmlElements Q
-
RP
public static final HtmlElements RP
-
RT
public static final HtmlElements RT
-
RUBY
public static final HtmlElements RUBY
-
S
public static final HtmlElements S
-
SAMP
public static final HtmlElements SAMP
-
SCRIPT
public static final HtmlElements SCRIPT
-
SECTION
public static final HtmlElements SECTION
-
SELECT
public static final HtmlElements SELECT
-
SMALL
public static final HtmlElements SMALL
-
SOURCE
public static final HtmlElements SOURCE
-
SPAN
public static final HtmlElements SPAN
-
STRONG
public static final HtmlElements STRONG
-
STYLE
public static final HtmlElements STYLE
-
SUB
public static final HtmlElements SUB
-
SUMMARY
public static final HtmlElements SUMMARY
-
SUP
public static final HtmlElements SUP
-
TABLE
public static final HtmlElements TABLE
-
TBODY
public static final HtmlElements TBODY
-
TD
public static final HtmlElements TD
-
TEXTAREA
public static final HtmlElements TEXTAREA
-
TFOOT
public static final HtmlElements TFOOT
-
TH
public static final HtmlElements TH
-
THEAD
public static final HtmlElements THEAD
-
TIME
public static final HtmlElements TIME
-
TITLE
public static final HtmlElements TITLE
-
TR
public static final HtmlElements TR
-
TRACK
public static final HtmlElements TRACK
-
U
public static final HtmlElements U
-
UL
public static final HtmlElements UL
-
VAR
public static final HtmlElements VAR
-
VIDEO
public static final HtmlElements VIDEO
-
WBR
public static final HtmlElements WBR
-
-
Method Detail
-
values
public static HtmlElements[] 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 (HtmlElements c : HtmlElements.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlElements 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
public String getValue()
-
isVoid
public boolean isVoid()
A void HTML elements is an element whose content model never allows it to have contents under any circumstances. See http://www.w3.org/TR/html-markup/syntax.html#void-element
-
isInline
public boolean isInline()
-
isVoid
public static boolean isVoid(String name)
-
isInline
public static boolean isInline(String name)
-
-