Provides methods to generate well-formed XML data easily. wrapping a writer.
This version only supports utf-8 encoding, if writing to a file make sure that the encoding of the file output stream is "utf-8".
The recommended implementation is to use a BufferedWriter
to write.
Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("foo.out"),"utf-8"));
This class is not synchronised. @author Christophe Lauret - Allette Systems (Australia) @version 11 December 2011
|
|
|
|
|
|
|
|