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

フィールドの概要
protected  int indent
           
protected  boolean isPastStart
           
protected  java.io.BufferedWriter writer
           
 
コンストラクタの概要
TinySaxWriter(java.io.BufferedWriter writer)
          超小さいSAX書き出しWriterクラスのコンストラクタ
 
メソッドの概要
 void characters(java.lang.String strLine)
           
 void close()
          Writerをクローズします
 void endDocument()
           
 void endElement(java.lang.String name)
           
 void flush()
          Writerをフラッシュします
 void startDocument()
           
 void startElement(java.lang.String name, java.util.ArrayList attributes)
          Stringの配列を Object配列で入れてください。
 
クラス 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例外の発生