net.sourceforge.schemaspy.view
Class HtmlConstraintsPage

java.lang.Object
  extended by net.sourceforge.schemaspy.view.HtmlFormatter
      extended by net.sourceforge.schemaspy.view.HtmlConstraintsPage

public class HtmlConstraintsPage
extends HtmlFormatter


Field Summary
 
Fields inherited from class net.sourceforge.schemaspy.view.HtmlFormatter
displayTableComments, encodeComments
 
Method Summary
static HtmlConstraintsPage getInstance()
           
protected  boolean isConstraintsPage()
          Override and return true if you're the constraints page
 void write(Database database, List constraints, Collection tables, boolean hasOrphans, LineWriter html)
           
 void writeCheckConstraints(Collection tables, LineWriter html)
          Write check constraints associated with the specified tables
protected  void writeFooter(LineWriter html)
           
 
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
 

Method Detail

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 - Collection
html - 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.