net.sourceforge.schemaspy.view
Class HtmlConstraintsPage
java.lang.Object
net.sourceforge.schemaspy.view.HtmlFormatter
net.sourceforge.schemaspy.view.HtmlConstraintsPage
public class HtmlConstraintsPage
- extends HtmlFormatter
| Methods inherited from class net.sourceforge.schemaspy.view.HtmlFormatter |
getDescription, getPathToRoot, isAnomaliesPage, isColumnsPage, isMainIndex, isOneOfMultipleSchemas, isOrphansPage, isRelationshipsPage, sourceForgeLogoEnabled, writeExcludedColumns, writeFeedMe, 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 HtmlConstraintsPage getInstance()
write
public void write(Database database,
List constraints,
Collection tables,
boolean hasOrphans,
LineWriter html)
throws IOException
- Throws:
IOException
writeFooter
protected void writeFooter(LineWriter html)
throws IOException
- Overrides:
writeFooter in class HtmlFormatter
- Throws:
IOException
writeCheckConstraints
public void writeCheckConstraints(Collection tables,
LineWriter html)
throws IOException
- Write check constraints associated with the specified tables
- Parameters:
tables - Collectionhtml - LineWriter
- Throws:
IOException
isConstraintsPage
protected boolean isConstraintsPage()
- Description copied from class:
HtmlFormatter
- Override and return true if you're the constraints page
- Overrides:
isConstraintsPage in class HtmlFormatter
- Returns:
- boolean
Copyright © 2007-2010. All Rights Reserved.