org.springframework.batch.io.oxm
Class AbstractStaxEventReaderItemReaderTests
java.lang.Object
TestCase
org.springframework.batch.io.oxm.AbstractStaxEventReaderItemReaderTests
- Direct Known Subclasses:
- CastorUnmarshallingTests, XStreamUnmarshallingTests
public abstract class AbstractStaxEventReaderItemReaderTests
- extends TestCase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resource
protected Resource resource
AbstractStaxEventReaderItemReaderTests
public AbstractStaxEventReaderItemReaderTests()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testRead
public void testRead()
getUnmarshaller
protected abstract org.springframework.oxm.Unmarshaller getUnmarshaller()
throws Exception
- Returns:
- Unmarshaller specific to the OXM library used
- Throws:
Exception
checkResults
protected void checkResults(List results)
- Parameters:
results
- list of domain objects returned by input source
tearDown
protected void tearDown()
throws Exception
- Throws:
Exception
setResource
public void setResource(Resource resource)
Copyright © 2008 SpringSource. All Rights Reserved.