org.databene.platform.dbunit
Class AbstractDbUnitEntityIterator

java.lang.Object
  extended by org.databene.platform.dbunit.AbstractDbUnitEntityIterator
All Implemented Interfaces:
java.io.Closeable, org.databene.webdecs.DataIterator<Entity>
Direct Known Subclasses:
FlatDbUnitEntityIterator, NestedDbUnitEntityIterator

public abstract class AbstractDbUnitEntityIterator
extends java.lang.Object
implements org.databene.webdecs.DataIterator<Entity>

Abstract parent class for classes that iterate DbUnit files and provide their content as Entity.

Created: 20.09.2011 08:07:44

Since:
0.7.1
Author:
Volker Bergmann

Field Summary
protected  BeneratorContext context
           
protected  org.slf4j.Logger logger
           
protected  javax.xml.stream.XMLStreamReader reader
           
 
Constructor Summary
AbstractDbUnitEntityIterator(java.lang.String uri, BeneratorContext context)
           
 
Method Summary
 void close()
           
 java.lang.Class<Entity> getType()
           
protected  ComplexTypeDescriptor getType(org.databene.platform.dbunit.Row row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.databene.webdecs.DataIterator
next
 

Field Detail

logger

protected final org.slf4j.Logger logger

context

protected BeneratorContext context

reader

protected javax.xml.stream.XMLStreamReader reader
Constructor Detail

AbstractDbUnitEntityIterator

public AbstractDbUnitEntityIterator(java.lang.String uri,
                                    BeneratorContext context)
Method Detail

getType

public java.lang.Class<Entity> getType()
Specified by:
getType in interface org.databene.webdecs.DataIterator<Entity>

close

public void close()
Specified by:
close in interface java.io.Closeable
Specified by:
close in interface org.databene.webdecs.DataIterator<Entity>

getType

protected ComplexTypeDescriptor getType(org.databene.platform.dbunit.Row row)


Copyright © 2013. All Rights Reserved.