public class ParseHtml extends Object implements ParseHtmlConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt |
boolean |
lookingAhead |
Token |
token |
ParseHtmlTokenManager |
token_source |
COLON, DEFAULT, DOCTYPEKEYWORD, ENDING_COMMENT, EOF, EQUALS, IN_ATTVALUE, IN_COMMENT, IN_DOCTYPE, IN_DOCTYPE2, IN_PCDATA, IN_TAG, LABRACKET, NAKEDDTITEM, NAKEDVALUE, NAME, OPENCOMMENT, PCDATA, PCDATASTART, QMARK, QUOTEDDTITEM, QUOTEDVALUE, RABRACKET, SINGQUOTEDVALUE, SLASH, STARTDOCTYPE, tokenImage
Constructor and Description |
---|
ParseHtml(CharStream stream) |
ParseHtml(ParseHtmlTokenManager tm) |
Modifier and Type | Method and Description |
---|---|
void |
Attribute(List attrs) |
String |
AttrVal() |
JHCloseTag |
CloseTag() |
void |
disable_tracing() |
JHDoctype |
Doctype() |
void |
DoctypeItem(List dtElements) |
JHElement |
Element(List elements) |
void |
enable_tracing() |
ParseException |
generateParseException() |
List |
getElements() |
Token |
getNextToken() |
Token |
getToken(int index) |
List |
HtmlDoc() |
Token |
Name() |
JHOpenTag |
OpenTag() |
JHPCData |
PCData() |
void |
ReInit(CharStream stream) |
void |
ReInit(ParseHtmlTokenManager tm) |
String |
TagCloser() |
JHXmlDecl |
XMLDecl() |
public ParseHtmlTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public ParseHtml(CharStream stream)
public ParseHtml(ParseHtmlTokenManager tm)
public List getElements()
public final List HtmlDoc() throws ParseException
ParseException
public final JHElement Element(List elements) throws ParseException
ParseException
public final JHOpenTag OpenTag() throws ParseException
ParseException
public final JHXmlDecl XMLDecl() throws ParseException
ParseException
public final JHCloseTag CloseTag() throws ParseException
ParseException
public final JHPCData PCData() throws ParseException
ParseException
public final JHDoctype Doctype() throws ParseException
ParseException
public final void DoctypeItem(List dtElements) throws ParseException
ParseException
public final Token Name() throws ParseException
ParseException
public final String AttrVal() throws ParseException
ParseException
public final void Attribute(List attrs) throws ParseException
ParseException
public final String TagCloser() throws ParseException
ParseException
public void ReInit(CharStream stream)
public void ReInit(ParseHtmlTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.