Example usage for org.springframework.batch.item.xml StaxUtils getResult

List of usage examples for org.springframework.batch.item.xml StaxUtils getResult

Introduction

In this page you can find the example usage for org.springframework.batch.item.xml StaxUtils getResult.

Prototype

public static Result getResult(XMLEventWriter w) 

Source Link

Usage

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);
}