List of usage examples for org.springframework.batch.item.xml StaxUtils getResult
public static Result getResult(XMLEventWriter w)
From source file:org.springframework.batch.item.xml.StaxEventItemWriter.java
/** * Subclasses can override to customize the STAX result. * @return a result for writing to/*ww w .ja va 2 s. c o m*/ * @throws Exception */ protected Result createStaxResult() throws Exception { return StaxUtils.getResult(eventWriter); }