com.clickntap.tool.html
Class TextParserCallBack

java.lang.Object
  extended by javax.swing.text.html.HTMLEditorKit.ParserCallback
      extended by com.clickntap.tool.html.TextParserCallBack

public class TextParserCallBack
extends HTMLEditorKit.ParserCallback


Field Summary
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED
 
Constructor Summary
TextParserCallBack(Writer writer)
           
 
Method Summary
 void handleEndTag(HTML.Tag tag, int index)
           
 void handleSimpleTag(HTML.Tag tag, MutableAttributeSet attributeSet, int index)
           
 void handleStartTag(HTML.Tag tag, MutableAttributeSet attributeSet, int index)
           
 void handleText(char[] text, int index)
           
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
flush, handleComment, handleEndOfLineString, handleError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextParserCallBack

public TextParserCallBack(Writer writer)
Method Detail

handleStartTag

public void handleStartTag(HTML.Tag tag,
                           MutableAttributeSet attributeSet,
                           int index)
Overrides:
handleStartTag in class HTMLEditorKit.ParserCallback

handleEndTag

public void handleEndTag(HTML.Tag tag,
                         int index)
Overrides:
handleEndTag in class HTMLEditorKit.ParserCallback

handleText

public void handleText(char[] text,
                       int index)
Overrides:
handleText in class HTMLEditorKit.ParserCallback

handleSimpleTag

public void handleSimpleTag(HTML.Tag tag,
                            MutableAttributeSet attributeSet,
                            int index)
Overrides:
handleSimpleTag in class HTMLEditorKit.ParserCallback


Copyright © 2014. All rights reserved.