Interface StaxWriterCallback
public interface StaxWriterCallbackCallback interface for writing to an XML file - useful e.g. for handling headers and footers.- Author:
- Robert Kasanicky
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(javax.xml.stream.XMLEventWriter writer)Write contents using the suppliedXMLEventWriter.
Method Detail
write
void write(javax.xml.stream.XMLEventWriter writer) throws java.io.IOExceptionWrite contents using the suppliedXMLEventWriter. It is not required to flush the writer inside this method.- Parameters:
writer- theXMLEventWriterto be used to write the contents.- Throws:
java.io.IOException- thrown if an error occurs during writing.