public class Parser extends java.lang.Object implements ParserTreeConstants, ParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTParserState |
jjtree |
Token |
token
Current token.
|
ParserTokenManager |
token_source
Generated Token Manager.
|
JJTABBR, JJTACRONYM, JJTADDRESS, JJTANCHOR, JJTAPPLET, JJTAREA, JJTATTR, JJTATTRNAME, JJTBASE, JJTBASEFONT, JJTBDO, JJTBIG, JJTBLOCK, JJTBLOCKQUOTE, JJTBODY, JJTBODYCONTENT, JJTBOLD, JJTBR, JJTBUTTON, JJTCAPTION, JJTCENTER, JJTCITATION, JJTCODE, JJTCOL, JJTCOLGROUP, JJTDD, JJTDEFINITION, JJTDEFLIST, JJTDEFLISTITEM, JJTDEL, JJTDIR, JJTDIV, JJTDOCUMENT, JJTDT, JJTEMPHASIZE, JJTFIELDSET, JJTFONT, JJTFONTDEFINITION, JJTFORM, JJTFRAME, JJTFRAMESET, JJTH1, JJTH2, JJTH3, JJTH4, JJTH5, JJTH6, JJTHEAD, JJTHEADELEMENT, JJTHEADING, JJTHR, JJTHTML, JJTIFRAME, JJTIMG, JJTINPUT, JJTINS, JJTISINDEX, JJTITALIC, JJTKEYBOARDTEXT, JJTLABEL, JJTLEGEND, JJTLINK, JJTLIST, JJTLISTITEM, JJTMAP, JJTMENU, JJTMETA, jjtNodeName, JJTNOFRAMES, JJTNOSCRIPT, JJTOBJECT, JJTOPTGROUP, JJTOPTION, JJTORDEREDLIST, JJTPARAGRAPH, JJTPARAM, JJTPCDATA, JJTPHRASE, JJTPREFORMATTED, JJTQ, JJTS, JJTSAMPLEOUTPUT, JJTSCRIPT, JJTSELECT, JJTSELECTOPTION, JJTSMALL, JJTSPAN, JJTSPECIAL, JJTSTRIKE, JJTSTRONG, JJTSTYLE, JJTSUBSCRIPT, JJTSUPERSCRIPT, JJTTABLE, JJTTBODY, JJTTD, JJTTELETYPE, JJTTEXT, JJTTEXTAREA, JJTTEXTTAG, JJTTFOOT, JJTTH, JJTTHEAD, JJTTITLE, JJTTR, JJTUNDERLINE, JJTUNORDEREDLIST, JJTVARIABLE, JJTXMLDECL
CHAR_WITHOUT_DQUOT, CHAR_WITHOUT_QUOT, DEFAULT, DIGIT, DOCTYPE, EOF, HEXDIGIT, HEXINT, HEXNUM, IN_COMMENT, INT, LCLETTER, LINE_TERMINATOR, PCDATA, STRING, tokenImage, WHITE_SPACE, WORD, WS
Constructor and Description |
---|
Parser(java.io.InputStream stream)
Constructor with InputStream.
|
Parser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding
|
Parser(ParserTokenManager tm)
Constructor with generated Token Manager.
|
Parser(java.io.Reader stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
abbr() |
void |
acronym() |
void |
address() |
void |
anchor() |
void |
applet() |
void |
area() |
void |
attr() |
void |
attrName() |
void |
base() |
void |
basefont() |
void |
bdo() |
void |
big() |
void |
block() |
void |
blockquote() |
void |
body() |
void |
bodyContent() |
void |
bold() |
void |
br() |
void |
button() |
void |
caption() |
void |
center() |
void |
citation() |
void |
code() |
void |
col() |
void |
colgroup() |
void |
dd() |
void |
definition() |
void |
defList() |
void |
defListItem() |
void |
del() |
void |
dir() |
void |
disable_tracing()
Disable tracing.
|
void |
div() |
SimpleNode |
document() |
void |
dt() |
void |
emphasize() |
void |
enable_tracing()
Enable tracing.
|
void |
fieldset() |
void |
font() |
void |
fontDefinition() |
void |
form() |
void |
frame() |
void |
frameset() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
h1() |
void |
h2() |
void |
h3() |
void |
h4() |
void |
h5() |
void |
h6() |
void |
head() |
void |
headElement() |
void |
heading() |
void |
hr() |
void |
html() |
void |
iframe() |
void |
img() |
void |
input() |
void |
ins() |
void |
isindex() |
void |
italic() |
void |
keyboardText() |
void |
label() |
void |
legend() |
void |
link() |
void |
list() |
void |
listItem() |
void |
map() |
void |
menu() |
void |
meta() |
void |
noframes() |
void |
noscript() |
void |
object() |
void |
optgroup() |
void |
option() |
void |
orderedList() |
void |
paragraph() |
void |
param() |
void |
pcData() |
void |
phrase() |
void |
preformatted() |
void |
q() |
void |
ReInit(java.io.InputStream stream)
Reinitialise.
|
void |
ReInit(java.io.InputStream stream,
java.lang.String encoding)
Reinitialise.
|
void |
ReInit(ParserTokenManager tm)
Reinitialise.
|
void |
ReInit(java.io.Reader stream)
Reinitialise.
|
void |
s() |
void |
sampleOutput() |
void |
script() |
void |
select() |
void |
selectOption() |
void |
small() |
void |
span() |
void |
special() |
void |
strike() |
void |
strong() |
void |
style() |
void |
subscript() |
void |
superscript() |
void |
table() |
void |
tbody() |
void |
td() |
void |
teletype() |
void |
text() |
void |
textarea() |
void |
textTag() |
void |
tfoot() |
void |
th() |
void |
thead() |
void |
title() |
void |
tr() |
void |
underline() |
void |
unorderedList() |
void |
variable() |
void |
xmlDecl() |
protected JJTParserState jjtree
public ParserTokenManager token_source
public Token token
public Token jj_nt
public Parser(java.io.InputStream stream)
public Parser(java.io.InputStream stream, java.lang.String encoding)
public Parser(java.io.Reader stream)
public Parser(ParserTokenManager tm)
public final void text() throws ParseException
ParseException
public final void pcData() throws ParseException
ParseException
public final void attr() throws ParseException
ParseException
public final void attrName() throws ParseException
ParseException
public final void xmlDecl() throws ParseException
ParseException
public final SimpleNode document() throws ParseException
ParseException
public final void head() throws ParseException
ParseException
public final void headElement() throws ParseException
ParseException
public final void base() throws ParseException
ParseException
public final void meta() throws ParseException
ParseException
public final void isindex() throws ParseException
ParseException
public final void link() throws ParseException
ParseException
public final void title() throws ParseException
ParseException
public final void script() throws ParseException
ParseException
public final void noscript() throws ParseException
ParseException
public final void style() throws ParseException
ParseException
public final void html() throws ParseException
ParseException
public final void body() throws ParseException
ParseException
public final void bodyContent() throws ParseException
ParseException
public final void heading() throws ParseException
ParseException
public final void block() throws ParseException
ParseException
public final void phrase() throws ParseException
ParseException
public final void special() throws ParseException
ParseException
public final void fontDefinition() throws ParseException
ParseException
public final void basefont() throws ParseException
ParseException
public final void applet() throws ParseException
ParseException
public final void param() throws ParseException
ParseException
public final void textTag() throws ParseException
ParseException
public final void font() throws ParseException
ParseException
public final void hr() throws ParseException
ParseException
public final void br() throws ParseException
ParseException
public final void img() throws ParseException
ParseException
public final void button() throws ParseException
ParseException
public final void h1() throws ParseException
ParseException
public final void h2() throws ParseException
ParseException
public final void h3() throws ParseException
ParseException
public final void h4() throws ParseException
ParseException
public final void h5() throws ParseException
ParseException
public final void h6() throws ParseException
ParseException
public final void address() throws ParseException
ParseException
public final void paragraph() throws ParseException
ParseException
public final void list() throws ParseException
ParseException
public final void unorderedList() throws ParseException
ParseException
public final void orderedList() throws ParseException
ParseException
public final void defList() throws ParseException
ParseException
public final void listItem() throws ParseException
ParseException
public final void defListItem() throws ParseException
ParseException
public final void dt() throws ParseException
ParseException
public final void dd() throws ParseException
ParseException
public final void dir() throws ParseException
ParseException
public final void menu() throws ParseException
ParseException
public final void preformatted() throws ParseException
ParseException
public final void div() throws ParseException
ParseException
public final void center() throws ParseException
ParseException
public final void blockquote() throws ParseException
ParseException
public final void q() throws ParseException
ParseException
public final void form() throws ParseException
ParseException
public final void input() throws ParseException
ParseException
public final void table() throws ParseException
ParseException
public final void colgroup() throws ParseException
ParseException
public final void col() throws ParseException
ParseException
public final void tbody() throws ParseException
ParseException
public final void thead() throws ParseException
ParseException
public final void tfoot() throws ParseException
ParseException
public final void caption() throws ParseException
ParseException
public final void tr() throws ParseException
ParseException
public final void th() throws ParseException
ParseException
public final void td() throws ParseException
ParseException
public final void teletype() throws ParseException
ParseException
public final void italic() throws ParseException
ParseException
public final void bold() throws ParseException
ParseException
public final void underline() throws ParseException
ParseException
public final void strike() throws ParseException
ParseException
public final void s() throws ParseException
ParseException
public final void del() throws ParseException
ParseException
public final void ins() throws ParseException
ParseException
public final void big() throws ParseException
ParseException
public final void small() throws ParseException
ParseException
public final void subscript() throws ParseException
ParseException
public final void superscript() throws ParseException
ParseException
public final void emphasize() throws ParseException
ParseException
public final void strong() throws ParseException
ParseException
public final void definition() throws ParseException
ParseException
public final void span() throws ParseException
ParseException
public final void code() throws ParseException
ParseException
public final void sampleOutput() throws ParseException
ParseException
public final void abbr() throws ParseException
ParseException
public final void acronym() throws ParseException
ParseException
public final void bdo() throws ParseException
ParseException
public final void keyboardText() throws ParseException
ParseException
public final void variable() throws ParseException
ParseException
public final void citation() throws ParseException
ParseException
public final void select() throws ParseException
ParseException
public final void selectOption() throws ParseException
ParseException
public final void optgroup() throws ParseException
ParseException
public final void option() throws ParseException
ParseException
public final void textarea() throws ParseException
ParseException
public final void fieldset() throws ParseException
ParseException
public final void legend() throws ParseException
ParseException
public final void frameset() throws ParseException
ParseException
public final void frame() throws ParseException
ParseException
public final void noframes() throws ParseException
ParseException
public final void iframe() throws ParseException
ParseException
public final void object() throws ParseException
ParseException
public final void label() throws ParseException
ParseException
public final void anchor() throws ParseException
ParseException
public final void map() throws ParseException
ParseException
public final void area() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()