org.springframework.batch.item.xml
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
 void write(javax.xml.stream.XMLEventWriter writer)
          Write contents using the supplied XMLEventWriter.
 

Method Detail

write

void write(javax.xml.stream.XMLEventWriter writer)
           throws IOException
Write contents using the supplied XMLEventWriter. It is not required to flush the writer inside this method.

Throws:
IOException


Copyright © 2009 SpringSource. All Rights Reserved.