org.springframework.batch.io.oxm
Class AbstractStaxEventWriterItemWriterTests
java.lang.Object
TestCase
org.springframework.batch.io.oxm.AbstractStaxEventWriterItemWriterTests
- Direct Known Subclasses:
- CastorMarshallingTests, XStreamMarshallingTests
public abstract class AbstractStaxEventWriterItemWriterTests
- extends TestCase
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 |
expected
protected Resource expected
objects
protected List objects
AbstractStaxEventWriterItemWriterTests
public AbstractStaxEventWriterItemWriterTests()
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.