org.apache.ddlutils.io
Class DataDtdWriter
java.lang.Object
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 $
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 |
DataDtdWriter
public DataDtdWriter()
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 modeloutput
- The writer to write the DTD to
- Throws:
IOException
Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.