org.cyberneko.html
Class HTMLElements

java.lang.Object
  |
  +--org.cyberneko.html.HTMLElements

public class HTMLElements
extends java.lang.Object

Collection of HTML element information.

Version:
$Id$
Author:
Andy Clark

Inner Class Summary
static class HTMLElements.Element
          Element information.
static class HTMLElements.ElementList
          Unsynchronized list of elements.
 
Field Summary
static short A
           
static short ABBR
           
static short ACRONYM
           
static short ADDRESS
           
static short APPLET
           
static short AREA
           
static short B
           
static short BASE
           
static short BASEFONT
           
static short BDO
           
static short BGSOUND
           
static short BIG
           
static short BLINK
           
static short BLOCKQUOTE
           
static short BODY
           
static short BR
           
static short BUTTON
           
static short CAPTION
           
static short CENTER
           
static short CITE
           
static short CODE
           
static short COL
           
static short COLGROUP
           
static short COMMENT
           
static short DD
           
static short DEL
           
static short DFN
           
static short DIR
           
static short DIV
           
static short DL
           
static short DT
           
protected static HTMLElements.ElementList ELEMENTS
          Element information.
static short EM
           
static short EMBED
           
static short FIELDSET
           
static short FONT
           
static short FORM
           
static short FRAME
           
static short FRAMESET
           
static short H1
           
static short H2
           
static short H3
           
static short H4
           
static short H5
           
static short H6
           
static short HEAD
           
static short HR
           
static short HTML
           
static short I
           
static short IFRAME
           
static short ILAYER
           
static short IMG
           
static short INPUT
           
static short INS
           
static short ISINDEX
           
static short KBD
           
static short KEYGEN
           
static short LABEL
           
static short LAYER
           
static short LEGEND
           
static short LI
           
static short LINK
           
static short LISTING
           
static short MAP
           
static short MARQUEE
           
static short MENU
           
static short META
           
static short MULTICOL
           
static short NEXTID
           
static HTMLElements.Element NO_SUCH_ELEMENT
          No such element.
static short NOBR
           
static short NOEMBED
           
static short NOFRAMES
           
static short NOLAYER
           
static short NOSCRIPT
           
static short OBJECT
           
static short OL
           
static short OPTGROUP
           
static short OPTION
           
static short P
           
static short PARAM
           
static short PLAINTEXT
           
static short PRE
           
static short Q
           
static short RB
           
static short RBC
           
static short RP
           
static short RT
           
static short RTC
           
static short RUBY
           
static short S
           
static short SAMP
           
static short SCRIPT
           
static short SELECT
           
static short SMALL
           
static short SOUND
           
static short SPACER
           
static short SPAN
           
static short STRIKE
           
static short STRONG
           
static short STYLE
           
static short SUB
           
static short SUP
           
static short TABLE
           
static short TBODY
           
static short TD
           
static short TEXTAREA
           
static short TFOOT
           
static short TH
           
static short THEAD
           
static short TITLE
           
static short TR
           
static short TT
           
static short U
           
static short UL
           
static short VAR
           
static short WBR
           
static short XML
           
static short XMP
           
 
Constructor Summary
HTMLElements()
           
 
Method Summary
static HTMLElements.Element getElement(short code)
          Returns the element information for the specified element code.
static HTMLElements.Element getElement(java.lang.String ename)
          Returns the element information for the specified element name.
static HTMLElements.Element getElement(java.lang.String ename, HTMLElements.Element element)
          Returns the element information for the specified element name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A

public static final short A

ABBR

public static final short ABBR

ACRONYM

public static final short ACRONYM

ADDRESS

public static final short ADDRESS

APPLET

public static final short APPLET

AREA

public static final short AREA

B

public static final short B

BASE

public static final short BASE

BASEFONT

public static final short BASEFONT

BDO

public static final short BDO

BGSOUND

public static final short BGSOUND

BIG

public static final short BIG

BLINK

public static final short BLINK

BLOCKQUOTE

public static final short BLOCKQUOTE

BODY

public static final short BODY

BR

public static final short BR

BUTTON

public static final short BUTTON

CAPTION

public static final short CAPTION

CENTER

public static final short CENTER

CITE

public static final short CITE

CODE

public static final short CODE

COL

public static final short COL

COLGROUP

public static final short COLGROUP

COMMENT

public static final short COMMENT

DEL

public static final short DEL

DFN

public static final short DFN

DIR

public static final short DIR

DIV

public static final short DIV

DD

public static final short DD

DL

public static final short DL

DT

public static final short DT

EM

public static final short EM

EMBED

public static final short EMBED

FIELDSET

public static final short FIELDSET

FONT

public static final short FONT

FORM

public static final short FORM

FRAME

public static final short FRAME

FRAMESET

public static final short FRAMESET

H1

public static final short H1

H2

public static final short H2

H3

public static final short H3

H4

public static final short H4

H5

public static final short H5

H6

public static final short H6

HEAD

public static final short HEAD

HR

public static final short HR

HTML

public static final short HTML

I

public static final short I

IFRAME

public static final short IFRAME

ILAYER

public static final short ILAYER

IMG

public static final short IMG

INPUT

public static final short INPUT

INS

public static final short INS

ISINDEX

public static final short ISINDEX

KBD

public static final short KBD

KEYGEN

public static final short KEYGEN

LABEL

public static final short LABEL

LAYER

public static final short LAYER

LEGEND

public static final short LEGEND

LI

public static final short LI

LINK

public static final short LINK

LISTING

public static final short LISTING

MAP

public static final short MAP

MARQUEE

public static final short MARQUEE

MENU

public static final short MENU

META

public static final short META

MULTICOL

public static final short MULTICOL

NEXTID

public static final short NEXTID

NOBR

public static final short NOBR

NOEMBED

public static final short NOEMBED

NOFRAMES

public static final short NOFRAMES

NOLAYER

public static final short NOLAYER

NOSCRIPT

public static final short NOSCRIPT

OBJECT

public static final short OBJECT

OL

public static final short OL

OPTION

public static final short OPTION

OPTGROUP

public static final short OPTGROUP

P

public static final short P

PARAM

public static final short PARAM

PLAINTEXT

public static final short PLAINTEXT

PRE

public static final short PRE

Q

public static final short Q

RB

public static final short RB

RBC

public static final short RBC

RP

public static final short RP

RT

public static final short RT

RTC

public static final short RTC

RUBY

public static final short RUBY

S

public static final short S

SAMP

public static final short SAMP

SCRIPT

public static final short SCRIPT

SELECT

public static final short SELECT

SMALL

public static final short SMALL

SOUND

public static final short SOUND

SPACER

public static final short SPACER

SPAN

public static final short SPAN

STRIKE

public static final short STRIKE

STRONG

public static final short STRONG

STYLE

public static final short STYLE

SUB

public static final short SUB

SUP

public static final short SUP

TABLE

public static final short TABLE

TBODY

public static final short TBODY

TD

public static final short TD

TEXTAREA

public static final short TEXTAREA

TFOOT

public static final short TFOOT

TH

public static final short TH

THEAD

public static final short THEAD

TITLE

public static final short TITLE

TR

public static final short TR

TT

public static final short TT

U

public static final short U

UL

public static final short UL

VAR

public static final short VAR

WBR

public static final short WBR

XML

public static final short XML

XMP

public static final short XMP

ELEMENTS

protected static final HTMLElements.ElementList ELEMENTS
Element information.

NO_SUCH_ELEMENT

public static final HTMLElements.Element NO_SUCH_ELEMENT
No such element.
Constructor Detail

HTMLElements

public HTMLElements()
Method Detail

getElement

public static final HTMLElements.Element getElement(short code)
Returns the element information for the specified element code.
Parameters:
code - The element code.

getElement

public static final HTMLElements.Element getElement(java.lang.String ename)
Returns the element information for the specified element name.
Parameters:
ename - The element name.

getElement

public static final HTMLElements.Element getElement(java.lang.String ename,
                                                    HTMLElements.Element element)
Returns the element information for the specified element name.
Parameters:
ename - The element name.
element - The default element to return if not found.


(C) Copyright 2002, Andy Clark. All rights reserved.