Package nl.vpro.util
Class HTMLStripper.TagStripper
java.lang.Object
javax.swing.text.html.HTMLEditorKit.ParserCallback
nl.vpro.util.HTMLStripper.TagStripper
- Enclosing class:
- HTMLStripper
-
Field Summary
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
void
handleComment
(char[] data, int pos) void
void
handleEndTag
(HTML.Tag tag, int position) void
handleError
(String mes, int position) void
handleSimpleTag
(HTML.Tag tag, MutableAttributeSet attributes, int position) void
handleStartTag
(HTML.Tag tag, MutableAttributeSet attributes, int position) void
handleText
(char[] text, int position) protected void
space()
-
Constructor Details
-
TagStripper
-
-
Method Details
-
handleText
public void handleText(char[] text, int position) - Overrides:
handleText
in classHTMLEditorKit.ParserCallback
-
space
- Throws:
IOException
-
handleStartTag
- Overrides:
handleStartTag
in classHTMLEditorKit.ParserCallback
-
handleEndTag
- Overrides:
handleEndTag
in classHTMLEditorKit.ParserCallback
-
handleSimpleTag
- Overrides:
handleSimpleTag
in classHTMLEditorKit.ParserCallback
-
handleError
- Overrides:
handleError
in classHTMLEditorKit.ParserCallback
-
handleComment
public void handleComment(char[] data, int pos) - Overrides:
handleComment
in classHTMLEditorKit.ParserCallback
-
handleEndOfLineString
- Overrides:
handleEndOfLineString
in classHTMLEditorKit.ParserCallback
-
flush
public void flush()- Overrides:
flush
in classHTMLEditorKit.ParserCallback
-