クラス
javax.swing.text.html.HTMLEditorKit.ParserCallbackの使用
| パッケージ | 説明 |
|---|---|
| javax.swing.text.html |
HTMLテキスト・エディタを作成するためのクラス
HTMLEditorKitとサポート・クラスを提供します。 |
| javax.swing.text.html.parser |
デフォルトのHTMLパーサーを、サポート・クラスとともに提供します。
|
-
javax.swing.text.htmlでのHTMLEditorKit.ParserCallbackの使用
javax.swing.text.html内のHTMLEditorKit.ParserCallbackのサブクラス 修飾子と型 クラス 説明 classHTMLDocument.HTMLReaderHTMLドキュメントをHTML要素構造とともにロードするためのHTMLリーダーです。HTMLEditorKit.ParserCallbackを返すjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 HTMLEditorKit.ParserCallbackHTMLDocument. getReader(int pos)パーサーがHTMLドキュメントをロードするときに使うリーダーを取得します。HTMLEditorKit.ParserCallbackHTMLDocument. getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)パーサーがHTMLドキュメントをロードするために使うリーダーを返します。HTMLEditorKit.ParserCallback型のパラメータを持つjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 abstract voidHTMLEditorKit.Parser. parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)指定されたストリームの構文解析を行い、その解析結果に基づいて指定のコールバックを呼び出します。 -
javax.swing.text.html.parserでのHTMLEditorKit.ParserCallbackの使用
HTMLEditorKit.ParserCallback型のパラメータを持つjavax.swing.text.html.parser内のメソッド 修飾子と型 メソッド 説明 voidDocumentParser. parse(Reader in, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)DTDが指定されている場合に、HTMLストリームを解析します。