org.cyberneko.html

Class HTMLElements

public class HTMLElements extends Object

Collection of HTML element information.

Version: $Id: HTMLElements.java,v 1.12 2005/02/14 07:16:59 andyc Exp $

Author: Andy Clark

Nested Class Summary
static classHTMLElements.Element
Element information.
static classHTMLElements.ElementList
Unsynchronized list of elements.
Field Summary
static shortA
static shortABBR
static shortACRONYM
static shortADDRESS
static shortAPPLET
static shortAREA
static shortB
static shortBASE
static shortBASEFONT
static shortBDO
static shortBGSOUND
static shortBIG
static shortBLINK
static shortBLOCKQUOTE
static shortBODY
static shortBR
static shortBUTTON
static shortCAPTION
static shortCENTER
static shortCITE
static shortCODE
static shortCOL
static shortCOLGROUP
static shortCOMMENT
static shortDD
static shortDEL
static shortDFN
static shortDIR
static shortDIV
static shortDL
static shortDT
protected static HTMLElements.ElementListELEMENTS
Element information as a contiguous list.
protected static HTMLElements.Element[][]ELEMENTS_ARRAY
Element information organized by first letter.
static shortEM
static shortEMBED
static shortFIELDSET
static shortFONT
static shortFORM
static shortFRAME
static shortFRAMESET
static shortH1
static shortH2
static shortH3
static shortH4
static shortH5
static shortH6
static shortHEAD
static shortHR
static shortHTML
static shortI
static shortIFRAME
static shortILAYER
static shortIMG
static shortINPUT
static shortINS
static shortISINDEX
static shortKBD
static shortKEYGEN
static shortLABEL
static shortLAYER
static shortLEGEND
static shortLI
static shortLINK
static shortLISTING
static shortMAP
static shortMARQUEE
static shortMENU
static shortMETA
static shortMULTICOL
static shortNEXTID
static shortNOBR
static shortNOEMBED
static shortNOFRAMES
static shortNOLAYER
static shortNOSCRIPT
static HTMLElements.ElementNO_SUCH_ELEMENT
No such element.
static shortOBJECT
static shortOL
static shortOPTGROUP
static shortOPTION
static shortP
static shortPARAM
static shortPLAINTEXT
static shortPRE
static shortQ
static shortRB
static shortRBC
static shortRP
static shortRT
static shortRTC
static shortRUBY
static shortS
static shortSAMP
static shortSCRIPT
static shortSELECT
static shortSMALL
static shortSOUND
static shortSPACER
static shortSPAN
static shortSTRIKE
static shortSTRONG
static shortSTYLE
static shortSUB
static shortSUP
static shortTABLE
static shortTBODY
static shortTD
static shortTEXTAREA
static shortTFOOT
static shortTH
static shortTHEAD
static shortTITLE
static shortTR
static shortTT
static shortU
static shortUL
static shortUNKNOWN
static shortVAR
static shortWBR
static shortXML
static shortXMP
Method Summary
static HTMLElements.ElementgetElement(short code)
Returns the element information for the specified element code.
static HTMLElements.ElementgetElement(String ename)
Returns the element information for the specified element name.
static HTMLElements.ElementgetElement(String ename, HTMLElements.Element element)
Returns the element information for the specified element name.

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

DD

public static final short DD

DEL

public static final short DEL

DFN

public static final short DFN

DIR

public static final short DIR

DIV

public static final short DIV

DL

public static final short DL

DT

public static final short DT

ELEMENTS

protected static final HTMLElements.ElementList ELEMENTS
Element information as a contiguous list.

ELEMENTS_ARRAY

protected static final HTMLElements.Element[][] ELEMENTS_ARRAY
Element information organized by first letter.

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

NO_SUCH_ELEMENT

public static final HTMLElements.Element NO_SUCH_ELEMENT
No such element.

OBJECT

public static final short OBJECT

OL

public static final short OL

OPTGROUP

public static final short OPTGROUP

OPTION

public static final short OPTION

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

UNKNOWN

public static final short UNKNOWN

VAR

public static final short VAR

WBR

public static final short WBR

XML

public static final short XML

XMP

public static final short XMP

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(String ename)
Returns the element information for the specified element name.

Parameters: ename The element name.

getElement

public static final HTMLElements.Element getElement(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-2005, Andy Clark. All rights reserved.