|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.text.html.parser.Parser | +--com.skyhunter.ex.swing.text.html.parser.EHTMLParser
Untamed:
Field Summary | |
private EHTMLHandler |
eHandler
|
Fields inherited from class javax.swing.text.html.parser.Parser |
dtd, strict |
Fields inherited from interface javax.swing.text.html.parser.DTDConstants |
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 Summary | |
EHTMLParser(DTD dtd,
EHTMLHandler eHTMLHandler)
Enabled: |
Method Summary | |
protected void |
handleComment(char[] text)
Called when an HTML comment is encountered. |
protected void |
handleEmptyTag(TagElement elem)
Called when an empty tag is encountered. |
protected void |
handleEndTag(TagElement elem)
Called when an end tag is encountered. |
protected void |
handleEOFInComment()
|
protected void |
handleError(int ln,
String msg)
An error has occurred. |
protected void |
handleStartTag(TagElement elem)
Called when a start tag is encountered. |
protected void |
handleText(char[] text)
Called when PCDATA is encountered. |
protected void |
handleTitle(char[] text)
Called when an HTML title tag is encountered. |
Methods inherited from class javax.swing.text.html.parser.Parser |
endTag, error, error, error, error, flushAttributes, getAttributes, getCurrentLine, getCurrentPos, makeTag, makeTag, markFirstTime, parse, parseDTDMarkup, parseMarkupDeclarations, startTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private EHTMLHandler eHandler
Constructor Detail |
public EHTMLParser(DTD dtd, EHTMLHandler eHTMLHandler)
Method Detail |
protected void handleStartTag(TagElement elem)
Parser
handleStartTag
in class Parser
protected void handleEndTag(TagElement elem)
Parser
handleEndTag
in class Parser
protected void handleComment(char[] text)
Parser
handleComment
in class Parser
protected void handleEmptyTag(TagElement elem)
Parser
handleEmptyTag
in class Parser
protected void handleEOFInComment()
handleEOFInComment
in class Parser
protected void handleError(int ln, String msg)
Parser
handleError
in class Parser
protected void handleText(char[] text)
Parser
handleText
in class Parser
protected void handleTitle(char[] text)
Parser
handleTitle
in class Parser
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |