Uses of Class
org.springframework.batch.item.xml.builder.StaxEventItemReaderBuilder
Packages that use StaxEventItemReaderBuilder
Package
Description
Builders for Stax event item reader and writer.
-
Uses of StaxEventItemReaderBuilder in org.springframework.batch.item.xml.builder
Methods in org.springframework.batch.item.xml.builder that return StaxEventItemReaderBuilderModifier 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) TheResourceto be used as input.StaxEventItemReaderBuilder.saveState(boolean saveState) Configure if the state of theItemStreamSupportshould be persisted within theExecutionContextfor 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 theUnmarshallerfrom Spring's OXM module.StaxEventItemReaderBuilder.xmlInputFactory(XMLInputFactory xmlInputFactory) Set theXMLInputFactory.