Class FlatDtdWriter.ChoiceModel

java.lang.Object
org.dbunit.dataset.xml.FlatDtdWriter.ContentModel
org.dbunit.dataset.xml.FlatDtdWriter.ChoiceModel
Enclosing class:
FlatDtdWriter

public static class FlatDtdWriter.ChoiceModel extends FlatDtdWriter.ContentModel
FlatDtdWriter.ContentModel that renders table names as a pipe-separated choice group.
Since:
Jun 13, 2003
Version:
$Revision$ $Date$
Author:
Manuel Laflamme, Last changed by: $Author$
  • Method Details

    • write

      public void write(PrintWriter writer, String tableName, int tableIndex, int tableCount)
      Description copied from class: FlatDtdWriter.ContentModel
      Writes the given table's content-model declaration.
      Specified by:
      write in class FlatDtdWriter.ContentModel
      Parameters:
      writer - the writer to write to.
      tableName - the table name.
      tableIndex - the index of the table among tableCount, used to decide separators.
      tableCount - the total number of tables being written.