org.apache.ddlutils.io
Class DataDtdWriter

java.lang.Object
  extended by org.apache.ddlutils.io.DataDtdWriter

public class DataDtdWriter
extends Object

Generates the DTD for data xml files usable with a specified database model. TODO: Make names (tables, columns) XML-compliant

Version:
$Revision: 289996 $

Constructor Summary
DataDtdWriter()
           
 
Method Summary
 void writeDtd(Database model, Writer output)
          Writes the DTD for data xml files for the given database model, to the specified writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataDtdWriter

public DataDtdWriter()
Method Detail

writeDtd

public void writeDtd(Database model,
                     Writer output)
              throws IOException
Writes the DTD for data xml files for the given database model, to the specified writer.

Parameters:
model - The database model
output - The writer to write the DTD to
Throws:
IOException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.