TUM CCSM Commons

edu.tum.cs.commons.html
Enum EHTMLElement

java.lang.Object
  extended by java.lang.Enum<EHTMLElement>
      extended by edu.tum.cs.commons.html.EHTMLElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EHTMLElement>

public enum EHTMLElement
extends java.lang.Enum<EHTMLElement>

Enumeration of all HTML elements.

Part of this file was generated from the XHTML FrameSet DTD using the "dtd2enum.pl" perl script in this directory.

Version:
$Rev: 26283 $
Author:
hummelb, $Author: juergens $
Rating:
GREEN Hash: 79BA2F22F7D22EC1006A1F55E80840CF

Enum Constant Summary
A
          The <A> element.
ABBR
          The <ABBR> element.
ACRONYM
          The <ACRONYM> element.
ADDRESS
          The <ADDRESS> element.
APPLET
          The <APPLET> element.
AREA
          The <AREA> element.
B
          The <B> element.
BASE
          The <BASE> element.
BASEFONT
          The <BASEFONT> element.
BDO
          The <BDO> element.
BIG
          The <BIG> element.
BLOCKQUOTE
          The <BLOCKQUOTE> element.
BODY
          The <BODY> element.
BR
          The <BR> element.
BUTTON
          The <BUTTON> element.
CAPTION
          The <CAPTION> element.
CENTER
          The <CENTER> element.
CITE
          The <CITE> element.
CODE
          The <CODE> element.
COL
          The <COL> element.
COLGROUP
          The <COLGROUP> element.
DD
          The <DD> element.
DEL
          The <DEL> element.
DFN
          The <DFN> element.
DIR
          The <DIR> element.
DIV
          The <DIV> element.
DL
          The <DL> element.
DT
          The <DT> element.
EM
          The <EM> element.
FIELDSET
          The <FIELDSET> element.
FONT
          The <FONT> element.
FORM
          The <FORM> element.
FRAME
          The <FRAME> element.
FRAMESET
          The <FRAMESET> element.
H1
          The <H1> element.
H2
          The <H2> element.
H3
          The <H3> element.
H4
          The <H4> element.
H5
          The <H5> element.
H6
          The <H6> element.
HEAD
          The <HEAD> element.
HR
          The <HR> element.
HTML
          The <HTML> element.
I
          The <I> element.
IFRAME
          The <IFRAME> element.
IMG
          The <IMG> element.
INPUT
          The <INPUT> element.
INS
          The <INS> element.
ISINDEX
          The <ISINDEX> element.
KBD
          The <KBD> element.
LABEL
          The <LABEL> element.
LEGEND
          The <LEGEND> element.
LI
          The <LI> element.
LINK
          The <LINK> element.
MAP
          The <MAP> element.
MENU
          The <MENU> element.
META
          The <META> element.
NOFRAMES
          The <NOFRAMES> element.
NOSCRIPT
          The <NOSCRIPT> element.
OBJECT
          The <OBJECT> element.
OL
          The <OL> element.
OPTGROUP
          The <OPTGROUP> element.
OPTION
          The <OPTION> element.
P
          The <P> element.
PARAM
          The <PARAM> element.
PRE
          The <PRE> element.
Q
          The <Q> element.
S
          The <S> element.
SAMP
          The <SAMP> element.
SCRIPT
          The <SCRIPT> element.
SELECT
          The <SELECT> element.
SMALL
          The <SMALL> element.
SPAN
          The <SPAN> element.
STRIKE
          The <STRIKE> element.
STRONG
          The <STRONG> element.
STYLE
          The <STYLE> element.
SUB
          The <SUB> element.
SUP
          The <SUP> element.
TABLE
          The <TABLE> element.
TBODY
          The <TBODY> element.
TD
          The <TD> element.
TEXTAREA
          The <TEXTAREA> element.
TFOOT
          The <TFOOT> element.
TH
          The <TH> element.
THEAD
          The <THEAD> element.
TITLE
          The <TITLE> element.
TR
          The <TR> element.
TT
          The <TT> element.
U
          The <U> element.
UL
          The <UL> element.
VAR
          The <VAR> element.
 
Method Summary
 boolean allowsAttribute(EHTMLAttribute attribute)
          Returns whether the given attribute is allowed for the element.
 java.lang.String getName()
          Returns the name as used in the HTML output.
 java.lang.String toString()
          
static EHTMLElement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EHTMLElement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HTML

public static final EHTMLElement HTML
The <HTML> element.


HEAD

public static final EHTMLElement HEAD
The <HEAD> element.


TITLE

public static final EHTMLElement TITLE
The <TITLE> element.


BASE

public static final EHTMLElement BASE
The <BASE> element.


META

public static final EHTMLElement META
The <META> element.


LINK

public static final EHTMLElement LINK
The <LINK> element.


STYLE

public static final EHTMLElement STYLE
The <STYLE> element.


SCRIPT

public static final EHTMLElement SCRIPT
The <SCRIPT> element.


NOSCRIPT

public static final EHTMLElement NOSCRIPT
The <NOSCRIPT> element.


FRAMESET

public static final EHTMLElement FRAMESET
The <FRAMESET> element.


FRAME

public static final EHTMLElement FRAME
The <FRAME> element.


IFRAME

public static final EHTMLElement IFRAME
The <IFRAME> element.


NOFRAMES

public static final EHTMLElement NOFRAMES
The <NOFRAMES> element.


BODY

public static final EHTMLElement BODY
The <BODY> element.


DIV

public static final EHTMLElement DIV
The <DIV> element.


P

public static final EHTMLElement P
The <P> element.


H1

public static final EHTMLElement H1
The <H1> element.


H2

public static final EHTMLElement H2
The <H2> element.


H3

public static final EHTMLElement H3
The <H3> element.


H4

public static final EHTMLElement H4
The <H4> element.


H5

public static final EHTMLElement H5
The <H5> element.


H6

public static final EHTMLElement H6
The <H6> element.


UL

public static final EHTMLElement UL
The <UL> element.


OL

public static final EHTMLElement OL
The <OL> element.


MENU

public static final EHTMLElement MENU
The <MENU> element.


DIR

public static final EHTMLElement DIR
The <DIR> element.


LI

public static final EHTMLElement LI
The <LI> element.


DL

public static final EHTMLElement DL
The <DL> element.


DT

public static final EHTMLElement DT
The <DT> element.


DD

public static final EHTMLElement DD
The <DD> element.


ADDRESS

public static final EHTMLElement ADDRESS
The <ADDRESS> element.


HR

public static final EHTMLElement HR
The <HR> element.


PRE

public static final EHTMLElement PRE
The <PRE> element.


BLOCKQUOTE

public static final EHTMLElement BLOCKQUOTE
The <BLOCKQUOTE> element.


CENTER

public static final EHTMLElement CENTER
The <CENTER> element.


INS

public static final EHTMLElement INS
The <INS> element.


DEL

public static final EHTMLElement DEL
The <DEL> element.


A

public static final EHTMLElement A
The <A> element.


SPAN

public static final EHTMLElement SPAN
The <SPAN> element.


BDO

public static final EHTMLElement BDO
The <BDO> element.


BR

public static final EHTMLElement BR
The <BR> element.


EM

public static final EHTMLElement EM
The <EM> element.


STRONG

public static final EHTMLElement STRONG
The <STRONG> element.


DFN

public static final EHTMLElement DFN
The <DFN> element.


CODE

public static final EHTMLElement CODE
The <CODE> element.


SAMP

public static final EHTMLElement SAMP
The <SAMP> element.


KBD

public static final EHTMLElement KBD
The <KBD> element.


VAR

public static final EHTMLElement VAR
The <VAR> element.


CITE

public static final EHTMLElement CITE
The <CITE> element.


ABBR

public static final EHTMLElement ABBR
The <ABBR> element.


ACRONYM

public static final EHTMLElement ACRONYM
The <ACRONYM> element.


Q

public static final EHTMLElement Q
The <Q> element.


SUB

public static final EHTMLElement SUB
The <SUB> element.


SUP

public static final EHTMLElement SUP
The <SUP> element.


TT

public static final EHTMLElement TT
The <TT> element.


I

public static final EHTMLElement I
The <I> element.


B

public static final EHTMLElement B
The <B> element.


BIG

public static final EHTMLElement BIG
The <BIG> element.


SMALL

public static final EHTMLElement SMALL
The <SMALL> element.


U

public static final EHTMLElement U
The <U> element.


S

public static final EHTMLElement S
The <S> element.


STRIKE

public static final EHTMLElement STRIKE
The <STRIKE> element.


BASEFONT

public static final EHTMLElement BASEFONT
The <BASEFONT> element.


FONT

public static final EHTMLElement FONT
The <FONT> element.


OBJECT

public static final EHTMLElement OBJECT
The <OBJECT> element.


PARAM

public static final EHTMLElement PARAM
The <PARAM> element.


APPLET

public static final EHTMLElement APPLET
The <APPLET> element.


IMG

public static final EHTMLElement IMG
The <IMG> element.


MAP

public static final EHTMLElement MAP
The <MAP> element.


AREA

public static final EHTMLElement AREA
The <AREA> element.


FORM

public static final EHTMLElement FORM
The <FORM> element.


LABEL

public static final EHTMLElement LABEL
The <LABEL> element.


INPUT

public static final EHTMLElement INPUT
The <INPUT> element.


SELECT

public static final EHTMLElement SELECT
The <SELECT> element.


OPTGROUP

public static final EHTMLElement OPTGROUP
The <OPTGROUP> element.


OPTION

public static final EHTMLElement OPTION
The <OPTION> element.


TEXTAREA

public static final EHTMLElement TEXTAREA
The <TEXTAREA> element.


FIELDSET

public static final EHTMLElement FIELDSET
The <FIELDSET> element.


LEGEND

public static final EHTMLElement LEGEND
The <LEGEND> element.


BUTTON

public static final EHTMLElement BUTTON
The <BUTTON> element.


ISINDEX

public static final EHTMLElement ISINDEX
The <ISINDEX> element.


TABLE

public static final EHTMLElement TABLE
The <TABLE> element.


CAPTION

public static final EHTMLElement CAPTION
The <CAPTION> element.


COLGROUP

public static final EHTMLElement COLGROUP
The <COLGROUP> element.


COL

public static final EHTMLElement COL
The <COL> element.


THEAD

public static final EHTMLElement THEAD
The <THEAD> element.


TFOOT

public static final EHTMLElement TFOOT
The <TFOOT> element.


TBODY

public static final EHTMLElement TBODY
The <TBODY> element.


TR

public static final EHTMLElement TR
The <TR> element.


TH

public static final EHTMLElement TH
The <TH> element.


TD

public static final EHTMLElement TD
The <TD> element.

Method Detail

values

public static EHTMLElement[] 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 (EHTMLElement c : EHTMLElement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EHTMLElement 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 name
java.lang.NullPointerException - if the argument is null

allowsAttribute

public boolean allowsAttribute(EHTMLAttribute attribute)
Returns whether the given attribute is allowed for the element.


getName

public java.lang.String getName()
Returns the name as used in the HTML output.


toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<EHTMLElement>

TUM CCSM Commons

TUM CCSM Commons - 2.7