Class Parser
java.lang.Object
nablarch.test.tool.htmlcheck.parser.Parser
- All Implemented Interfaces:
ParserConstants
,ParserTreeConstants
-
Field Summary
Modifier and TypeFieldDescriptionNext token.protected JJTParserState
Current token.Generated Token Manager.Fields inherited from interface nablarch.test.tool.htmlcheck.parser.ParserConstants
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
Fields inherited from interface nablarch.test.tool.htmlcheck.parser.ParserTreeConstants
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
-
Constructor Summary
ConstructorDescriptionParser
(InputStream stream) Constructor with InputStream.Parser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
abbr()
final void
acronym()
final void
address()
final void
anchor()
final void
applet()
final void
area()
final void
attr()
final void
attrName()
final void
base()
final void
basefont()
final void
bdo()
final void
big()
final void
block()
final void
final void
body()
final void
final void
bold()
final void
br()
final void
button()
final void
caption()
final void
center()
final void
citation()
final void
code()
final void
col()
final void
colgroup()
final void
dd()
final void
final void
defList()
final void
final void
del()
final void
dir()
final void
Disable tracing.final void
div()
final SimpleNode
document()
final void
dt()
final void
final void
Enable tracing.final void
fieldset()
final void
font()
final void
final void
form()
final void
frame()
final void
frameset()
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final void
h1()
final void
h2()
final void
h3()
final void
h4()
final void
h5()
final void
h6()
final void
head()
final void
final void
heading()
final void
hr()
final void
html()
final void
iframe()
final void
img()
final void
input()
final void
ins()
final void
isindex()
final void
italic()
final void
final void
label()
final void
legend()
final void
link()
final void
list()
final void
listItem()
final void
map()
final void
menu()
final void
meta()
final void
noframes()
final void
noscript()
final void
object()
final void
optgroup()
final void
option()
final void
final void
final void
param()
final void
pcData()
final void
phrase()
final void
final void
q()
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final void
s()
final void
final void
script()
final void
select()
final void
final void
small()
final void
span()
final void
special()
final void
strike()
final void
strong()
final void
style()
final void
final void
final void
table()
final void
tbody()
final void
td()
final void
teletype()
final void
text()
final void
textarea()
final void
textTag()
final void
tfoot()
final void
th()
final void
thead()
final void
title()
final void
tr()
final void
final void
final void
variable()
final void
xmlDecl()
-
Field Details
-
jjtree
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
Parser
Constructor with InputStream. -
Parser
Constructor with InputStream and supplied encoding -
Parser
Constructor. -
Parser
Constructor with generated Token Manager.
-
-
Method Details
-
text
- Throws:
ParseException
-
pcData
- Throws:
ParseException
-
attr
- Throws:
ParseException
-
attrName
- Throws:
ParseException
-
xmlDecl
- Throws:
ParseException
-
document
- Throws:
ParseException
-
head
- Throws:
ParseException
-
headElement
- Throws:
ParseException
-
base
- Throws:
ParseException
-
meta
- Throws:
ParseException
-
isindex
- Throws:
ParseException
-
link
- Throws:
ParseException
-
title
- Throws:
ParseException
-
script
- Throws:
ParseException
-
noscript
- Throws:
ParseException
-
style
- Throws:
ParseException
-
html
- Throws:
ParseException
-
body
- Throws:
ParseException
-
bodyContent
- Throws:
ParseException
-
heading
- Throws:
ParseException
-
block
- Throws:
ParseException
-
phrase
- Throws:
ParseException
-
special
- Throws:
ParseException
-
fontDefinition
- Throws:
ParseException
-
basefont
- Throws:
ParseException
-
applet
- Throws:
ParseException
-
param
- Throws:
ParseException
-
textTag
- Throws:
ParseException
-
font
- Throws:
ParseException
-
hr
- Throws:
ParseException
-
br
- Throws:
ParseException
-
img
- Throws:
ParseException
-
button
- Throws:
ParseException
-
h1
- Throws:
ParseException
-
h2
- Throws:
ParseException
-
h3
- Throws:
ParseException
-
h4
- Throws:
ParseException
-
h5
- Throws:
ParseException
-
h6
- Throws:
ParseException
-
address
- Throws:
ParseException
-
paragraph
- Throws:
ParseException
-
list
- Throws:
ParseException
-
unorderedList
- Throws:
ParseException
-
orderedList
- Throws:
ParseException
-
defList
- Throws:
ParseException
-
listItem
- Throws:
ParseException
-
defListItem
- Throws:
ParseException
-
dt
- Throws:
ParseException
-
dd
- Throws:
ParseException
-
dir
- Throws:
ParseException
-
preformatted
- Throws:
ParseException
-
div
- Throws:
ParseException
-
center
- Throws:
ParseException
-
blockquote
- Throws:
ParseException
-
q
- Throws:
ParseException
-
form
- Throws:
ParseException
-
input
- Throws:
ParseException
-
table
- Throws:
ParseException
-
colgroup
- Throws:
ParseException
-
col
- Throws:
ParseException
-
tbody
- Throws:
ParseException
-
thead
- Throws:
ParseException
-
tfoot
- Throws:
ParseException
-
tr
- Throws:
ParseException
-
th
- Throws:
ParseException
-
td
- Throws:
ParseException
-
teletype
- Throws:
ParseException
-
italic
- Throws:
ParseException
-
bold
- Throws:
ParseException
-
underline
- Throws:
ParseException
-
strike
- Throws:
ParseException
-
s
- Throws:
ParseException
-
del
- Throws:
ParseException
-
ins
- Throws:
ParseException
-
big
- Throws:
ParseException
-
small
- Throws:
ParseException
-
subscript
- Throws:
ParseException
-
superscript
- Throws:
ParseException
-
emphasize
- Throws:
ParseException
-
strong
- Throws:
ParseException
-
definition
- Throws:
ParseException
-
span
- Throws:
ParseException
-
code
- Throws:
ParseException
-
sampleOutput
- Throws:
ParseException
-
abbr
- Throws:
ParseException
-
acronym
- Throws:
ParseException
-
bdo
- Throws:
ParseException
-
keyboardText
- Throws:
ParseException
-
variable
- Throws:
ParseException
-
citation
- Throws:
ParseException
-
select
- Throws:
ParseException
-
selectOption
- Throws:
ParseException
-
optgroup
- Throws:
ParseException
-
option
- Throws:
ParseException
-
textarea
- Throws:
ParseException
-
fieldset
- Throws:
ParseException
-
legend
- Throws:
ParseException
-
frameset
- Throws:
ParseException
-
frame
- Throws:
ParseException
-
noframes
- Throws:
ParseException
-
iframe
- Throws:
ParseException
-
object
- Throws:
ParseException
-
label
- Throws:
ParseException
-
anchor
- Throws:
ParseException
-
map
- Throws:
ParseException
-
area
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-