|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--oracle.html.IHtmlItemImpl | +--oracle.html.Comment
説明:
HTMLに指定されているコメントです。
使用方法:
このクラスは、Htmlページにコメントを入れるために使用します。 コメントはクライアントには表示されないので注意してください。
例:
// Creates a comment Comment comment = new Comment("Expires: 28 Feb 1996"); // Adds comment to body (assuming it already exists) body.addItem(comment);
IHtmlItem
コンストラクタの概要 | |
Comment(java.lang.String content)
Commentオブジェクトを作成します。 |
メソッドの概要 | |
java.lang.String |
toHTML()
オブジェクトの内容をHTML文字列として返します。 |
java.lang.String |
toString()
|
クラス oracle.html.IHtmlItemImplから継承したメソッド |
print, print |
クラス java.lang.Objectから継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public Comment(java.lang.String content)
content
- -- コメントの内容メソッドの詳細 |
public java.lang.String toHTML()
public java.lang.String toString()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |