net.sourceforge.schemaspy.view
Class HtmlTablePage
java.lang.Object
net.sourceforge.schemaspy.view.HtmlFormatter
net.sourceforge.schemaspy.view.HtmlTablePage
public class HtmlTablePage
- extends HtmlFormatter
|
Method Summary |
static HtmlTablePage |
getInstance()
|
protected String |
getPathToRoot()
Override if your output doesn't live in the root directory. |
WriteStats |
write(Database db,
Table table,
boolean hasOrphans,
File outputDir,
WriteStats stats,
LineWriter out)
|
boolean |
writeColumn(TableColumn column,
String tableName,
Set primaries,
Set indexedColumns,
boolean onCascadeDelete,
boolean showIds,
LineWriter out)
|
protected void |
writeFooter(boolean onCascadeDelete,
LineWriter out)
|
boolean |
writeMainTable(Table table,
LineWriter out)
|
| Methods inherited from class net.sourceforge.schemaspy.view.HtmlFormatter |
getDescription, isAnomaliesPage, isColumnsPage, isConstraintsPage, isMainIndex, isOneOfMultipleSchemas, isOrphansPage, isRelationshipsPage, sourceForgeLogoEnabled, writeExcludedColumns, writeFeedMe, writeFooter, writeGeneratedBy, writeHeader, writeInvalidGraphvizInstallation, writeLegend, writeLegend, writeTableOfContents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static HtmlTablePage getInstance()
write
public WriteStats write(Database db,
Table table,
boolean hasOrphans,
File outputDir,
WriteStats stats,
LineWriter out)
throws IOException
- Throws:
IOException
writeMainTable
public boolean writeMainTable(Table table,
LineWriter out)
throws IOException
- Throws:
IOException
writeColumn
public boolean writeColumn(TableColumn column,
String tableName,
Set primaries,
Set indexedColumns,
boolean onCascadeDelete,
boolean showIds,
LineWriter out)
throws IOException
- Throws:
IOException
writeFooter
protected void writeFooter(boolean onCascadeDelete,
LineWriter out)
throws IOException
- Throws:
IOException
getPathToRoot
protected String getPathToRoot()
- Description copied from class:
HtmlFormatter
- Override if your output doesn't live in the root directory.
If non blank must end with a trailing slash.
- Overrides:
getPathToRoot in class HtmlFormatter
- Returns:
- String
Copyright © 2007-2010. All Rights Reserved.