Java org.springframework.batch.item.xml StaxEventItemWriter fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.item.xml StaxEventItemWriter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.item.xml StaxEventItemWriter.

The text is from its open source code.

Subclass

org.springframework.batch.item.xml.StaxEventItemWriter has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidafterPropertiesSet()
voidclose()
Flush and close the output source.
voidopen(ExecutionContext executionContext)
Open the output source
voidopen(long position)
Helper method for opening output source at given file position
voidsetEncoding(String encoding)
Set encoding to be used for output file.
voidsetMarshaller(Marshaller marshaller)
Set Object to XML marshaller.
voidsetOverwriteOutput(boolean overwriteOutput)
Set "overwrite" flag for the output file.
voidsetResource(Resource resource)
Set output file.
voidsetRootTagName(String rootTagName)
Set the tag name of the root element.
voidsetSaveState(boolean saveState)
voidsetVersion(String version)
Set XML version to be used for output XML.
voidupdate(ExecutionContext executionContext)
Get the restart data.
voidwrite(List items)
Write the value objects and flush them to the file.