jp.ne.nifty.iga.tosiki.string
クラス TinySaxWriter
java.lang.Object
|
+--jp.ne.nifty.iga.tosiki.string.TinySaxWriter
- public class TinySaxWriter
- extends java.lang.Object
超小さいSAX書き出しWriterクラス
小さいのだけが取り柄のSAX書き出しクラスです。
特に使い勝手は無いでしょう。
- 作成者:
- Tosiki IGA
コンストラクタの概要 |
TinySaxWriter(java.io.BufferedWriter writer)
超小さいSAX書き出しWriterクラスのコンストラクタ |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected java.io.BufferedWriter writer
indent
protected int indent
isPastStart
protected boolean isPastStart
TinySaxWriter
public TinySaxWriter(java.io.BufferedWriter writer)
- 超小さいSAX書き出しWriterクラスのコンストラクタ
- パラメータ:
BufferedWriter
- writer 連結する元のWriter
startDocument
public void startDocument()
throws java.io.IOException
endDocument
public void endDocument()
throws java.io.IOException
startElement
public void startElement(java.lang.String name,
java.util.ArrayList attributes)
throws java.io.IOException
- Stringの配列を Object配列で入れてください。
endElement
public void endElement(java.lang.String name)
throws java.io.IOException
characters
public void characters(java.lang.String strLine)
throws java.io.IOException
flush
public final void flush()
throws java.io.IOException
- Writerをフラッシュします
- 例外:
java.io.IOException
- 何かしらのI/O例外の発生
close
public final void close()
throws java.io.IOException
- Writerをクローズします
- 例外:
java.io.IOException
- 何かしらのI/O例外の発生