public XMLWriter(Writer writer){
  _writer=writer;
}

public XMLWriter ( Writer writer ) { _writer = writer ; }
creates a new xmlwriter that will write its data to the supplied writer . character encoding issues are left to the supplier of the writer .
