JavaTM 2 Platform
Standard Ed. 6

類別 javax.swing.text.html.HTMLEditorKit.ParserCallback
的使用

使用 HTMLEditorKit.ParserCallback 的軟體套件
javax.swing.text.html 提供類別 HTMLEditorKit 和創建 HTML 文本編輯器的支持類別。 
javax.swing.text.html.parser 提供預設的 HTML 解析器以及支持類別。 
 

javax.swing.text.html 中 HTMLEditorKit.ParserCallback 的使用
 

javax.swing.text.html 中 HTMLEditorKit.ParserCallback 的子類別
 class HTMLDocument.HTMLReader
          一個 HTML reader,用來載入具有 HTML 元素結構的 HTML 文檔。
 

返回 HTMLEditorKit.ParserCallback 的 javax.swing.text.html 中的方法
 HTMLEditorKit.ParserCallback HTMLDocument.getReader(int pos)
          獲取載入帶有 HTML 的文檔時所用解析器的 reader。
 HTMLEditorKit.ParserCallback HTMLDocument.getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
          返回載入帶有 HTML 的文檔時所用解析器的 reader。
 

參數型別為 HTMLEditorKit.ParserCallback 的 javax.swing.text.html 中的方法
abstract  void HTMLEditorKit.Parser.parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)
          解析給定的串流並通過解析的結果驅動給定的回調。
 

javax.swing.text.html.parser 中 HTMLEditorKit.ParserCallback 的使用
 

參數型別為 HTMLEditorKit.ParserCallback 的 javax.swing.text.html.parser 中的方法
 void DocumentParser.parse(Reader in, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)
           
 void ParserDelegator.parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)
           
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。