Package nl.siegmann.epublib.viewer
Class MyParserCallback
java.lang.Object
javax.swing.text.html.HTMLEditorKit.ParserCallback
nl.siegmann.epublib.viewer.MyParserCallback
-
Field Summary
FieldsFields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidflush()voidhandleComment(char[] data, int pos) voidvoidhandleEndTag(HTML.Tag t, int pos) voidhandleError(String errorMsg, int pos) voidhandleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos) voidhandleStartTag(HTML.Tag t, MutableAttributeSet a, int pos) private voidhandleStylesheet(HTML.Tag tag, MutableAttributeSet attributes) voidhandleText(char[] data, int pos) inthashCode()private booleanisStylesheetLink(HTML.Tag tag, MutableAttributeSet attributes) voidsetStylesheetHrefs(List<String> stylesheetHrefs) toString()
-
Field Details
-
parserCallback
-
stylesheetHrefs
-
-
Constructor Details
-
MyParserCallback
-
-
Method Details
-
getStylesheetHrefs
-
setStylesheetHrefs
-
isStylesheetLink
-
handleStylesheet
-
hashCode
public int hashCode() -
equals
-
toString
-
flush
- Overrides:
flushin classHTMLEditorKit.ParserCallback- Throws:
BadLocationException
-
handleText
public void handleText(char[] data, int pos) - Overrides:
handleTextin classHTMLEditorKit.ParserCallback
-
handleComment
public void handleComment(char[] data, int pos) - Overrides:
handleCommentin classHTMLEditorKit.ParserCallback
-
handleStartTag
- Overrides:
handleStartTagin classHTMLEditorKit.ParserCallback
-
handleEndTag
- Overrides:
handleEndTagin classHTMLEditorKit.ParserCallback
-
handleSimpleTag
- Overrides:
handleSimpleTagin classHTMLEditorKit.ParserCallback
-
handleError
- Overrides:
handleErrorin classHTMLEditorKit.ParserCallback
-
handleEndOfLineString
- Overrides:
handleEndOfLineStringin classHTMLEditorKit.ParserCallback
-