org.dbunit.util.fileloader
Class FullXmlDataFileLoader

java.lang.Object
  extended by org.dbunit.util.fileloader.AbstractDataFileLoader
      extended by org.dbunit.util.fileloader.FullXmlDataFileLoader
All Implemented Interfaces:
DataFileLoader

public class FullXmlDataFileLoader
extends AbstractDataFileLoader

Since:
2.4.8
Version:
$Revision$ $Date$
Author:
Jeff Jensen jeffjensen AT users.sourceforge.net, Last changed by: $Author$

Constructor Summary
FullXmlDataFileLoader()
          Create new instance.
FullXmlDataFileLoader(java.util.Map ro)
          Create new instance with replacement objects.
FullXmlDataFileLoader(java.util.Map ro, java.util.Map rs)
          Create new instance with replacement objects and replacement substrings.
 
Method Summary
protected  IDataSet loadDataSet(java.net.URL url)
          Make the dbUnit dataset (IDataSet) from the input stream of a dbUnit data file.
 
Methods inherited from class org.dbunit.util.fileloader.AbstractDataFileLoader
addReplacementObjects, addReplacementSubstrings, load, processReplacementTokens, removeAllReplacementObjects, removeAllReplacementSubstrings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullXmlDataFileLoader

public FullXmlDataFileLoader()
Create new instance.


FullXmlDataFileLoader

public FullXmlDataFileLoader(java.util.Map ro)
Create new instance with replacement objects.

Parameters:
replacementObjects - The replacement objects for use with ReplacementDataSet.

FullXmlDataFileLoader

public FullXmlDataFileLoader(java.util.Map ro,
                             java.util.Map rs)
Create new instance with replacement objects and replacement substrings.

Parameters:
ro - The replacement objects for use with ReplacementDataSet.
rs - The replacement substrings for use with ReplacementDataSet.
Method Detail

loadDataSet

protected IDataSet loadDataSet(java.net.URL url)
                        throws DataSetException,
                               java.io.IOException
Make the dbUnit dataset (IDataSet) from the input stream of a dbUnit data file. The type of dbUnit dataset created is delegated to the implementing subclass.

Specified by:
loadDataSet in class AbstractDataFileLoader
Parameters:
url - The dbUnit data file url.
Returns:
dbUnit dataset of the corresponding input file type.
Throws:
DataSetException - On data errors.
java.io.IOException - On file errors.


Copyright © 2002-2010. All Rights Reserved.