Package org.dbunit.dataset.xml
Class FlatDtdWriter.ContentModel
java.lang.Object
org.dbunit.dataset.xml.FlatDtdWriter.ContentModel
- Direct Known Subclasses:
FlatDtdWriter.ChoiceModel,FlatDtdWriter.SequenceModel
- Enclosing class:
FlatDtdWriter
Abstract strategy for rendering a DTD element's content model (the part
between the parentheses in an <!ELEMENT> declaration).
- Since:
- Jun 13, 2003
- Version:
- $Revision$ $Date$
- Author:
- Manuel Laflamme, Last changed by: $Author$
-
Method Summary
Modifier and TypeMethodDescriptiontoString()abstract voidwrite(PrintWriter writer, String tableName, int tableIndex, int tableCount) Writes the given table's content-model declaration.
-
Method Details
-
toString
-
write
Writes the given table's content-model declaration.- 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.
-