Example usage for Java org.springframework.batch.item.xml StaxEventItemWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() |
void | close() Flush and close the output source. |
void | open(ExecutionContext executionContext) Open the output source |
void | open(long position) Helper method for opening output source at given file position |
void | setEncoding(String encoding) Set encoding to be used for output file. |
void | setMarshaller(Marshaller marshaller) Set Object to XML marshaller. |
void | setOverwriteOutput(boolean overwriteOutput) Set "overwrite" flag for the output file. |
void | setResource(Resource resource) Set output file. |
void | setRootTagName(String rootTagName) Set the tag name of the root element. |
void | setSaveState(boolean saveState) |
void | setVersion(String version) Set XML version to be used for output XML. |
void | update(ExecutionContext executionContext) Get the restart data. |
void | write(List extends T> items) Write the value objects and flush them to the file. |