Uses of Class
org.springframework.batch.item.xml.builder.StaxEventItemReaderBuilder
Package
Description
Builders for Stax event item reader and writer.
-
Uses of StaxEventItemReaderBuilder in org.springframework.batch.item.xml.builder
Modifier and TypeMethodDescriptionStaxEventItemReaderBuilder.addFragmentRootElements
(String... fragmentRootElements) Adds the list of fragments to be used as the root of each chunk to the configuration.StaxEventItemReaderBuilder.addFragmentRootElements
(List<String> fragmentRootElements) Adds the list of fragments to be used as the root of each chunk to the configuration.StaxEventItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.Encoding for the input file.StaxEventItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.StaxEventItemReaderBuilder.resource
(org.springframework.core.io.Resource resource) TheResource
to be used as input.StaxEventItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.StaxEventItemReaderBuilder.strict
(boolean strict) Setting this value to true indicates that it is an error if the input does not exist and an exception will be thrown.StaxEventItemReaderBuilder.unmarshaller
(org.springframework.oxm.Unmarshaller unmarshaller) An implementation of theUnmarshaller
from Spring's OXM module.StaxEventItemReaderBuilder.xmlInputFactory
(XMLInputFactory xmlInputFactory) Set theXMLInputFactory
.