org.ditchnet.xml
Class Xhtml.Tag

java.lang.Object
  extended byorg.ditchnet.xml.Xhtml.Tag
All Implemented Interfaces:
Xml.Tag
Enclosing class:
Xhtml

public static class Xhtml.Tag
extends java.lang.Object
implements Xml.Tag

This class implements the Type-Safe Enum pattern as outlined by Joshua Bloch in Effective Java. The only constructor is private, and therefore this class may not be instanciated by client code.

This class' static member variables present the complete set of elements available in the XHTML 1.0 Transitional vocabulary.

Since:
2005-03-12
Version:
0.8
Author:
Todd Ditchendorf

Field Summary
static Xhtml.Tag A
           
static Xhtml.Tag ABBR
           
static Xhtml.Tag ACRONYM
           
static Xhtml.Tag ADDRESS
           
static Xhtml.Tag APPLET
           
static Xhtml.Tag BASE
           
static Xhtml.Tag BLOCKQUOTE
           
static Xhtml.Tag BODY
           
static Xhtml.Tag BR
           
static Xhtml.Tag BUTTON
           
static Xhtml.Tag CAPTION
           
static Xhtml.Tag CITE
           
static Xhtml.Tag CODE
           
static Xhtml.Tag COMMENT
           
static Xhtml.Tag DD
           
static Xhtml.Tag DEL
           
static Xhtml.Tag DFN
           
static Xhtml.Tag DIR
           
static Xhtml.Tag DIV
           
static Xhtml.Tag DL
           
static Xhtml.Tag DT
           
static Xhtml.Tag EM
           
static Xhtml.Tag FIELDSET
           
static Xhtml.Tag FORM
           
static Xhtml.Tag H1
           
static Xhtml.Tag H2
           
static Xhtml.Tag H3
           
static Xhtml.Tag H4
           
static Xhtml.Tag H5
           
static Xhtml.Tag H6
           
static Xhtml.Tag HEAD
           
static Xhtml.Tag HTML
           
static Xhtml.Tag IFRAME
           
static Xhtml.Tag IMG
           
static Xhtml.Tag INPUT
           
static Xhtml.Tag LABEL
           
static Xhtml.Tag LEGEND
           
static Xhtml.Tag LI
           
static Xhtml.Tag LINK
           
static Xhtml.Tag META
           
static Xhtml.Tag NOSCRIPT
           
static Xhtml.Tag OBJECT
           
static Xhtml.Tag OL
           
static Xhtml.Tag OPTGROUP
           
static Xhtml.Tag OPTION
           
static Xhtml.Tag PARAM
           
static Xhtml.Tag PRE
           
static Xhtml.Tag Q
           
static Xhtml.Tag SAMP
           
static Xhtml.Tag SCRIPT
           
static Xhtml.Tag SPAN
           
static Xhtml.Tag STRONG
           
static Xhtml.Tag SUMMARY
           
static Xhtml.Tag TABLE
           
static Xhtml.Tag TBODY
           
static Xhtml.Tag TD
           
static Xhtml.Tag TEXTAREA
           
static Xhtml.Tag TFOOT
           
static Xhtml.Tag TH
           
static Xhtml.Tag THEAD
           
static Xhtml.Tag TITLE
           
static Xhtml.Tag TR
           
static Xhtml.Tag UL
           
static Xhtml.Tag VAR
           
 
Method Summary
 java.lang.String toString()
          Return this tag's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

A

public static final Xhtml.Tag A

ABBR

public static final Xhtml.Tag ABBR

ACRONYM

public static final Xhtml.Tag ACRONYM

ADDRESS

public static final Xhtml.Tag ADDRESS

APPLET

public static final Xhtml.Tag APPLET

BASE

public static final Xhtml.Tag BASE

BLOCKQUOTE

public static final Xhtml.Tag BLOCKQUOTE

BODY

public static final Xhtml.Tag BODY

BR

public static final Xhtml.Tag BR

BUTTON

public static final Xhtml.Tag BUTTON

CAPTION

public static final Xhtml.Tag CAPTION

CITE

public static final Xhtml.Tag CITE

CODE

public static final Xhtml.Tag CODE

COMMENT

public static final Xhtml.Tag COMMENT

DD

public static final Xhtml.Tag DD

DEL

public static final Xhtml.Tag DEL

DFN

public static final Xhtml.Tag DFN

DIR

public static final Xhtml.Tag DIR

DIV

public static final Xhtml.Tag DIV

DL

public static final Xhtml.Tag DL

DT

public static final Xhtml.Tag DT

EM

public static final Xhtml.Tag EM

HEAD

public static final Xhtml.Tag HEAD

FORM

public static final Xhtml.Tag FORM

FIELDSET

public static final Xhtml.Tag FIELDSET

HTML

public static final Xhtml.Tag HTML

H1

public static final Xhtml.Tag H1

H2

public static final Xhtml.Tag H2

H3

public static final Xhtml.Tag H3

H4

public static final Xhtml.Tag H4

H5

public static final Xhtml.Tag H5

H6

public static final Xhtml.Tag H6

IFRAME

public static final Xhtml.Tag IFRAME

IMG

public static final Xhtml.Tag IMG

INPUT

public static final Xhtml.Tag INPUT

LABEL

public static final Xhtml.Tag LABEL

LEGEND

public static final Xhtml.Tag LEGEND

LI

public static final Xhtml.Tag LI

LINK

public static final Xhtml.Tag LINK

META

public static final Xhtml.Tag META

NOSCRIPT

public static final Xhtml.Tag NOSCRIPT

OBJECT

public static final Xhtml.Tag OBJECT

OL

public static final Xhtml.Tag OL

OPTGROUP

public static final Xhtml.Tag OPTGROUP

OPTION

public static final Xhtml.Tag OPTION

PARAM

public static final Xhtml.Tag PARAM

PRE

public static final Xhtml.Tag PRE

Q

public static final Xhtml.Tag Q

SAMP

public static final Xhtml.Tag SAMP

SPAN

public static final Xhtml.Tag SPAN

SCRIPT

public static final Xhtml.Tag SCRIPT

STRONG

public static final Xhtml.Tag STRONG

SUMMARY

public static final Xhtml.Tag SUMMARY

TABLE

public static final Xhtml.Tag TABLE

TITLE

public static final Xhtml.Tag TITLE

TEXTAREA

public static final Xhtml.Tag TEXTAREA

TBODY

public static final Xhtml.Tag TBODY

TD

public static final Xhtml.Tag TD

TFOOT

public static final Xhtml.Tag TFOOT

THEAD

public static final Xhtml.Tag THEAD

TH

public static final Xhtml.Tag TH

TR

public static final Xhtml.Tag TR

UL

public static final Xhtml.Tag UL

VAR

public static final Xhtml.Tag VAR
Method Detail

toString

public java.lang.String toString()
Return this tag's name.