public class HTMLDocumentParser extends DocumentParser
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECTED_TAGNAME_ERROR_KEY |
boolean |
expectedTagName |
static String |
TAGCLOSER |
static String |
XML_TAGNAME |
ANY, CDATA, CONREF, CURRENT, DEFAULT, EMPTY, ENDTAG, ENTITIES, ENTITY, FIXED, GENERAL, ID, IDREF, IDREFS, IMPLIED, MD, MODEL, MS, NAME, NAMES, NMTOKEN, NMTOKENS, NOTATION, NUMBER, NUMBERS, NUTOKEN, NUTOKENS, PARAMETER, PI, PUBLIC, RCDATA, REQUIRED, SDATA, STARTTAG, SYSTEM| Constructor and Description |
|---|
HTMLDocumentParser(DTD dtd) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
error(String errorKey) |
protected void |
handleText(char[] data) |
handleComment, handleEmptyTag, handleEndTag, handleError, handleStartTag, parseendTag, error, error, error, flushAttributes, getAttributes, getCurrentLine, getCurrentPos, handleEOFInComment, handleTitle, makeTag, makeTag, markFirstTime, parse, parseDTDMarkup, parseMarkupDeclarations, startTagpublic static final String TAGCLOSER
public static final String XML_TAGNAME
public static final String EXPECTED_TAGNAME_ERROR_KEY
public boolean expectedTagName
public HTMLDocumentParser(DTD dtd)
protected void handleText(char[] data)
handleText in class DocumentParserCopyright © 2015. All rights reserved.