Interface StaxWriterCallback
public interface StaxWriterCallback
Callback interface for writing to an XML file - useful e.g. for handling headers and
footers.
- Author:
- Robert Kasanicky
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(XMLEventWriter writer) Write contents using the suppliedXMLEventWriter
.
-
Method Details
-
write
Write contents using the suppliedXMLEventWriter
. It is not required to flush the writer inside this method.- Parameters:
writer
- theXMLEventWriter
to be used to write the contents.- Throws:
IOException
- thrown if an error occurs during writing.
-