Uses of Class
org.springframework.batch.item.xml.builder.StaxEventItemWriterBuilder
Packages that use StaxEventItemWriterBuilder
Package
Description
Builders for Stax event item reader and writer.
-
Uses of StaxEventItemWriterBuilder in org.springframework.batch.item.xml.builder
Methods in org.springframework.batch.item.xml.builder that return StaxEventItemWriterBuilderModifier and TypeMethodDescriptionEncoding for the file.StaxEventItemWriterBuilder.footerCallback(StaxWriterCallback footerCallback) AStaxWriterCallbackto provide any footer elementsStaxEventItemWriterBuilder.forceSync(boolean forceSync) Flag to indicate that changes should be force-synced to disk on flush.StaxEventItemWriterBuilder.headerCallback(StaxWriterCallback headerCallback) AStaxWriterCallbackto provide any header elementsStaxEventItemWriterBuilder.marshaller(org.springframework.oxm.Marshaller marshaller) TheMarshallerimplementation 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) TheWritableResourceto 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.