# Uses of Class
org.springframework.batch.item.xml.builder.StaxEventItemWriterBuilder

Packages that use StaxEventItemWriterBuilder
Package
Description
org.springframework.batch.item.xml.builder
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 StaxEventItemWriterBuilder
  Modifier and Type
  Method
  Description
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`encoding(String encoding)`
  Encoding for the file.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`footerCallback(StaxWriterCallback footerCallback)`
  A `StaxWriterCallback` to provide any footer elements
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`forceSync(boolean forceSync)`
  Flag to indicate that changes should be force-synced to disk on flush.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`headerCallback(StaxWriterCallback headerCallback)`
  A `StaxWriterCallback` to provide any header elements
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`marshaller(org.springframework.oxm.Marshaller marshaller)`
  The `Marshaller` implementation responsible for the serialization of the items to XML.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`overwriteOutput(boolean overwriteOutput)`
  Indicates if an existing file should be overwritten if found.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`resource(org.springframework.core.io.Resource resource)`
  The `Resource` to be used as output.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`rootElementAttributes(Map<String,String> rootElementAttributes)`
  A Map of attributes to be included in the document's root element.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`rootTagName(String rootTagName)`
  The name of the root tag for the output document.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`saveState(boolean saveState)`
  Indicates if the state of the writer should be saved in the `ExecutionContext`.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`shouldDeleteIfEmpty(boolean shouldDelete)`
  Flag to indicate that the output file should be deleted if no results were written to it.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`standalone(Boolean standalone)`
  Standalone document declaration for the output document.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`transactional(boolean transactional)`
  The resulting writer is participating in a transaction and writes should be delayed as late as possible.
  `StaxEventItemWriterBuilder<T>`
  StaxEventItemWriterBuilder.`version(String version)`
  Version of XML to be generated.