javax.swing.text.html.parser
クラス DocumentParser
java.lang.Object
|
+--javax.swing.text.html.parser.Parser
|
+--javax.swing.text.html.parser.DocumentParser
- public class DocumentParser
- extends Parser
HTML ドキュメントのパーサです。HTML の InputStream を読み取って、ParserCallback クラス内の適切なメソッドを呼び出します。
クラス javax.swing.text.html.parser.Parser から継承したメソッド |
endTag,
error,
error,
error,
error,
flushAttributes,
getAttributes,
getCurrentLine,
getCurrentPos,
handleEOFInComment,
handleTitle,
makeTag,
makeTag,
markFirstTime,
parse,
parseDTDMarkup,
parseMarkupDeclarations,
startTag |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DocumentParser
public DocumentParser(DTD dtd)
parse
public void parse(Reader in,
HTMLEditorKit.ParserCallback callback,
boolean ignoreCharSet)
throws IOException
handleStartTag
protected void handleStartTag(TagElement tag)
- 開始タグを扱います。
- オーバーライド:
- クラス Parser 内の handleStartTag
handleComment
protected void handleComment(char[] text)
- オーバーライド:
- クラス Parser 内の handleComment
handleEmptyTag
protected void handleEmptyTag(TagElement tag)
throws ChangedCharSetException
- 空のタグを扱います。
- オーバーライド:
- クラス Parser 内の handleEmptyTag
handleEndTag
protected void handleEndTag(TagElement tag)
- 終了タグを扱います。
- オーバーライド:
- クラス Parser 内の handleEndTag
handleText
protected void handleText(char[] data)
- テキストを扱います。
- オーバーライド:
- クラス Parser 内の handleText
handleError
protected void handleError(int ln,
String errorMsg)
- オーバーライド:
- クラス Parser 内の handleError
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.