Uses of Class
org.springframework.batch.item.xml.builder.StaxEventItemWriterBuilder
Package
Description
Builders for Stax event item reader and writer.
-
Uses of StaxEventItemWriterBuilder in org.springframework.batch.item.xml.builder
Modifier and TypeMethodDescriptionEncoding for the file.StaxEventItemWriterBuilder.footerCallback
(StaxWriterCallback footerCallback) AStaxWriterCallback
to provide any footer elementsStaxEventItemWriterBuilder.forceSync
(boolean forceSync) Flag to indicate that changes should be force-synced to disk on flush.StaxEventItemWriterBuilder.headerCallback
(StaxWriterCallback headerCallback) AStaxWriterCallback
to provide any header elementsStaxEventItemWriterBuilder.marshaller
(org.springframework.oxm.Marshaller marshaller) TheMarshaller
implementation responsible for the serialization of the items to XML.The name used to calculate the key within theExecutionContext
.StaxEventItemWriterBuilder.overwriteOutput
(boolean overwriteOutput) Indicates if an existing file should be overwritten if found.StaxEventItemWriterBuilder.resource
(org.springframework.core.io.WritableResource resource) TheWritableResource
to be used as output.StaxEventItemWriterBuilder.rootElementAttributes
(Map<String, String> rootElementAttributes) A Map of attributes to be included in the document's root element.StaxEventItemWriterBuilder.rootTagName
(String rootTagName) The name of the root tag for the output document.StaxEventItemWriterBuilder.saveState
(boolean saveState) Indicates if the state of the writer should be saved in theExecutionContext
.StaxEventItemWriterBuilder.shouldDeleteIfEmpty
(boolean shouldDelete) Flag to indicate that the output file should be deleted if no results were written to it.StaxEventItemWriterBuilder.standalone
(Boolean standalone) Standalone document declaration for the output document.StaxEventItemWriterBuilder.transactional
(boolean transactional) The resulting writer is participating in a transaction and writes should be delayed as late as possible.Version of XML to be generated.