Package org.apache.axiom.util.stax
Class XMLStreamWriterWriter
java.lang.Object
java.io.Writer
org.apache.axiom.util.stax.XMLStreamWriterWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Writer
implementation that writes data as
XMLStreamConstants.CHARACTERS
events to an XMLStreamWriter
.
Note that this class
Any XMLStreamException
occurring in the underlying XMLStreamWriter
will
be wrapped using XMLStreamIOException
.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMLStreamWriterWriter
Constructor.- Parameters:
writer
- the XML stream writer to write the events to
-
-
Method Details
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-