org.ditchnet.xml
Class Xhtml.Attr

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

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

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 attribute names available in the XHTML 1.0 Transitional vocabulary.

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

Field Summary
static Xhtml.Attr ALT
           
static Xhtml.Attr BORDER
           
static Xhtml.Attr CHECKED
           
static Xhtml.Attr CLASS
           
static Xhtml.Attr DIR
           
static Xhtml.Attr DISABLED
           
static Xhtml.Attr HREF
           
static Xhtml.Attr ID
           
static Xhtml.Attr LANG
           
static Xhtml.Attr LONGDESC
           
static Xhtml.Attr NAME
           
static Xhtml.Attr ONBLUR
           
static Xhtml.Attr ONCHANGE
           
static Xhtml.Attr ONCLICK
           
static Xhtml.Attr ONDBLCLICK
           
static Xhtml.Attr ONFOCUS
           
static Xhtml.Attr ONKEYDOWN
           
static Xhtml.Attr ONKEYPRESS
           
static Xhtml.Attr ONKEYUP
           
static Xhtml.Attr ONLOAD
           
static Xhtml.Attr ONMOUSEDOWN
           
static Xhtml.Attr ONMOUSEMOVE
           
static Xhtml.Attr ONMOUSEOVER
           
static Xhtml.Attr ONSELECT
           
static Xhtml.Attr REL
           
static Xhtml.Attr SELECTED
           
static Xhtml.Attr SRC
           
static Xhtml.Attr STYLE
           
static Xhtml.Attr TARGET
           
static Xhtml.Attr TITLE
           
static Xhtml.Attr TYPE
           
static Xhtml.Attr VALUE
           
 
Method Summary
 java.lang.String toString()
          Return this attribute's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALT

public static final Xhtml.Attr ALT

BORDER

public static final Xhtml.Attr BORDER

CHECKED

public static final Xhtml.Attr CHECKED

CLASS

public static final Xhtml.Attr CLASS

DIR

public static final Xhtml.Attr DIR

DISABLED

public static final Xhtml.Attr DISABLED

HREF

public static final Xhtml.Attr HREF

ID

public static final Xhtml.Attr ID

LANG

public static final Xhtml.Attr LANG

LONGDESC

public static final Xhtml.Attr LONGDESC

NAME

public static final Xhtml.Attr NAME

ONBLUR

public static final Xhtml.Attr ONBLUR

ONCHANGE

public static final Xhtml.Attr ONCHANGE

ONCLICK

public static final Xhtml.Attr ONCLICK

ONDBLCLICK

public static final Xhtml.Attr ONDBLCLICK

ONFOCUS

public static final Xhtml.Attr ONFOCUS

ONKEYDOWN

public static final Xhtml.Attr ONKEYDOWN

ONKEYPRESS

public static final Xhtml.Attr ONKEYPRESS

ONKEYUP

public static final Xhtml.Attr ONKEYUP

ONLOAD

public static final Xhtml.Attr ONLOAD

ONMOUSEDOWN

public static final Xhtml.Attr ONMOUSEDOWN

ONMOUSEMOVE

public static final Xhtml.Attr ONMOUSEMOVE

ONMOUSEOVER

public static final Xhtml.Attr ONMOUSEOVER

ONSELECT

public static final Xhtml.Attr ONSELECT

REL

public static final Xhtml.Attr REL

SELECTED

public static final Xhtml.Attr SELECTED

SRC

public static final Xhtml.Attr SRC

STYLE

public static final Xhtml.Attr STYLE

TARGET

public static final Xhtml.Attr TARGET

TITLE

public static final Xhtml.Attr TITLE

TYPE

public static final Xhtml.Attr TYPE

VALUE

public static final Xhtml.Attr VALUE
Method Detail

toString

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