| 
 | JavaTM 2 Platform Std. Ed. v1.4.0 | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Object
  |
  +--javax.swing.text.AbstractWriter
        |
        +--javax.swing.text.html.HTMLWriter
HTMLDocument のライターです。
| フィールドの概要 | 
| クラス javax.swing.text.AbstractWriter から継承したフィールド | 
| NEWLINE | 
| コンストラクタの概要 | |
| HTMLWriter(Writer w,
           HTMLDocument doc)新しい HTMLWriter を作成します。 | |
| HTMLWriter(Writer w,
           HTMLDocument doc,
           int pos,
           int len)新しい HTMLWriter を作成します。 | |
| メソッドの概要 | |
| protected  void | closeOutUnwantedEmbeddedTags(AttributeSet attr)属性セットおよびタグベクタに格納された各タグを検索します。 | 
| protected  void | comment(Element elem)コメントを書き出します。 | 
| protected  void | emptyTag(Element elem)すべての空要素 (対応する終了タグのないタグすべて) を書き出します。 | 
| protected  void | endTag(Element elem)要素の終了タグを書き出します。 | 
| protected  boolean | isBlockTag(AttributeSet attr)要素に対応する HTML タグが block タグかどうかを判定します。 | 
| protected  boolean | matchNameAttribute(AttributeSet attr,
                   HTML.Tag tag)StyleConstants.NameAttribute がパラメータとして渡されるタグに等しい場合は true を返します。 | 
| protected  void | output(char[] chars,
       int start,
       int length)< を < へなどの文字エントリをマッピングするためにオーバーライドされます。 | 
| protected  void | selectContent(AttributeSet attr)フォーム要素の SELECT のコンテンツを書き出します。 | 
| protected  void | startTag(Element elem)要素の開始タグを書き出します。 | 
| protected  boolean | synthesizedElement(Element elem)要素が合成要素の場合は true を返します。 | 
| protected  void | text(Element elem)テキストを書き出します。 | 
| protected  void | textAreaContent(AttributeSet attr)フォーム要素の TEXTAREA に格納されているテキストを書き出します。 | 
|  void | write()要素ツリーで反復され、すべてのタグとその属性の書き込みを制御します。 | 
| protected  void | writeAttributes(AttributeSet attr)属性セットを書き出します。 | 
| protected  void | writeEmbeddedTags(AttributeSet attr)AttributeSet で組み込みタグを検索してそれを書き出します。 | 
| protected  void | writeLineSeparator()行区切り文字を書き込みます。 | 
| protected  void | writeOption(Option option)フォーム要素の Option のコンテンツを書き出します。 | 
| クラス javax.swing.text.AbstractWriter から継承したメソッド | 
| decrIndent, getCanWrapLines, getCurrentLineLength, getDocument, getElementIterator, getEndOffset, getIndentLevel, getIndentSpace, getLineLength, getLineSeparator, getStartOffset, getText, getWriter, incrIndent, indent, inRange, isLineEmpty, setCanWrapLines, setCurrentLineLength, setIndentSpace, setLineLength, setLineSeparator, write, write, write | 
| クラス java.lang.Object から継承したメソッド | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| コンストラクタの詳細 | 
public HTMLWriter(Writer w,
                  HTMLDocument doc)
w - Writerdoc - HTMLDocument
public HTMLWriter(Writer w,
                  HTMLDocument doc,
                  int pos,
                  int len)
w - Writerdoc - HTMLDocumentpos - コンテンツを取得するドキュメントの位置len - 書き出す量| メソッドの詳細 | 
public void write()
           throws IOException,
                  BadLocationException
AbstractWriter 内の writeIOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
protected void writeAttributes(AttributeSet attr)
                        throws IOException
AbstractWriter 内の writeAttributesattr - AttributeSet
IOException - 入出力エラーが発生した場合
protected void emptyTag(Element elem)
                 throws BadLocationException,
                        IOException
elem - Element
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合protected boolean isBlockTag(AttributeSet attr)
attr - AttributeSet
protected void startTag(Element elem)
                 throws IOException,
                        BadLocationException
elem - Element
IOException - 入出力エラーが発生した場合
BadLocationException
protected void textAreaContent(AttributeSet attr)
                        throws BadLocationException,
                               IOException
attr - AttributeSet
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
protected void text(Element elem)
             throws BadLocationException,
                    IOException
AbstractWriter 内の textelem - Element
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
protected void selectContent(AttributeSet attr)
                      throws IOException
attr - フォーム要素に関連した AttributeSet
IOException - 入出力エラーが発生した場合
protected void writeOption(Option option)
                    throws IOException
option - Option
IOException - 入出力エラーが発生した場合
protected void endTag(Element elem)
               throws IOException
elem - Element
IOException - 入出力エラーが発生した場合
protected void comment(Element elem)
                throws BadLocationException,
                       IOException
elem - Element
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合protected boolean synthesizedElement(Element elem)
protected boolean matchNameAttribute(AttributeSet attr,
                                     HTML.Tag tag)
protected void writeEmbeddedTags(AttributeSet attr)
                          throws IOException
IOException - 入出力エラーが発生した場合
protected void closeOutUnwantedEmbeddedTags(AttributeSet attr)
                                     throws IOException
IOException - 入出力エラーが発生した場合
protected void writeLineSeparator()
                           throws IOException
AbstractWriter 内の writeLineSeparatorIOException
protected void output(char[] chars,
                      int start,
                      int length)
               throws IOException
super.output が呼び出されます。
AbstractWriter 内の outputIOException| 
 | JavaTM 2 Platform Std. Ed. v1.4.0 | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
 Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
 Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A.  All Rights Reserved.