Class XMLStreamWriterWriter

java.lang.Object
java.io.Writer
org.apache.axiom.util.stax.XMLStreamWriterWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class XMLStreamWriterWriter extends Writer
Writer implementation that writes data as XMLStreamConstants.CHARACTERS events to an XMLStreamWriter. Note that this class
  • doesn't buffer the data;
  • ignores calls to flush() and close();
  • is not thread-safe (synchronized).
Any XMLStreamException occurring in the underlying XMLStreamWriter will be wrapped using XMLStreamIOException.