org.springframework.batch.io.oxm
Class AbstractStaxEventWriterItemWriterTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.io.oxm.AbstractStaxEventWriterItemWriterTests
Direct Known Subclasses:
CastorMarshallingTests, XStreamMarshallingTests

public abstract class AbstractStaxEventWriterItemWriterTests
extends TestCase


Field Summary
protected  Resource expected
           
protected  List objects
           
 
Constructor Summary
AbstractStaxEventWriterItemWriterTests()
           
 
Method Summary
protected abstract  org.springframework.oxm.Marshaller getMarshaller()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testWrite()
          Write list of domain objects and check the output file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expected

protected Resource expected

objects

protected List objects
Constructor Detail

AbstractStaxEventWriterItemWriterTests

public AbstractStaxEventWriterItemWriterTests()
Method Detail

testWrite

public void testWrite()
               throws Exception
Write list of domain objects and check the output file.

Throws:
Exception

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

getMarshaller

protected abstract org.springframework.oxm.Marshaller getMarshaller()
                                                             throws Exception
Returns:
Marshaller specific for the OXM technology being used.
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.