public interface StaxWriterCallback
Modifier and Type | Method and Description |
---|---|
void |
write(javax.xml.stream.XMLEventWriter writer)
Write contents using the supplied
XMLEventWriter . |
void write(javax.xml.stream.XMLEventWriter writer) throws java.io.IOException
XMLEventWriter
. It is not
required to flush the writer inside this method.writer
- the XMLEventWriter
to be used to write the contents.java.io.IOException
- thrown if an error occurs during writing.