public StreamSerializer(int mode, String encoding, String eol)
public StreamSerializer()
  public StreamSerializer(int mode, String encoding, String eol)  {    this.mode = mode;    if (encoding == null)      {        encoding = "UTF-8";      }    this.encoding = encoding.intern();    charset = Charset.forName(this.encoding);    encoder = charset.newEncoder();    this.eol = (eol != null) ? eol : System.getProperty("line.separator");    namespaces = new HashMap();  }