Top Fields Constructors Methods
liquibase.dbdoc

public abstract Class HTMLWriter

extends Object
Class Inheritance
Known Direct Subclasses
liquibase.dbdoc.PendingChangesWriter, liquibase.dbdoc.PendingSQLWriter, liquibase.dbdoc.RecentChangesWriter, liquibase.dbdoc.TableWriter, liquibase.dbdoc.AuthorWriter, liquibase.dbdoc.ColumnWriter
Imports
liquibase.change.Change, liquibase.changelog.ChangeSet, liquibase.database.Database, liquibase.exception.DatabaseException, .DatabaseHistoryException, liquibase.resource.OpenOptions, .Resource, liquibase.util.LiquibaseUtil, .StringUtil, java.io.IOException, .OutputStreamWriter, .Writer, java.text.DateFormat, java.util.Date, .List

Field Summary

Modifier and TypeField and Description
protected Resource
protected Database
protected Resource

Constructor Summary

AccessConstructor and Description
public
HTMLWriter(Resource outputDir, Database database)

Method Summary

Modifier and TypeMethod and Description
private Writer
protected abstract String
protected void
writeBody(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun)

protected void
writeChanges(String title, Writer fileWriter, List<Change> changes)

protected abstract void
writeCustomHTML(Writer fileWriter, Object object, List<Change> changes, Database database)

private void
writeFooter(Writer fileWriter, String changeLog)

private void
writeHeader(Object object, Writer fileWriter)

public void
writeHTML(Object object, List<Change> ranChanges, List<Change> changesToRun, String changeLog)

protected void
writeTable(String title, List<List<String>> cells, Writer fileWriter)

private void
writeTD(Writer fileWriter, String filePath)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

baseOutputDirback to summary
protected Resource baseOutputDir
databaseback to summary
protected Database database
outputDirback to summary
protected Resource outputDir

Constructor Detail

HTMLWriterback to summary
public HTMLWriter(Resource outputDir, Database database)

Method Detail

createFileWriterback to summary
private Writer createFileWriter(Object object) throws IOException
createTitleback to summary
protected abstract String createTitle(Object object)
writeBodyback to summary
protected void writeBody(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) throws IOException, DatabaseHistoryException, DatabaseException
writeChangesback to summary
protected void writeChanges(String title, Writer fileWriter, List<Change> changes) throws IOException, DatabaseHistoryException, DatabaseException
writeCustomHTMLback to summary
protected abstract void writeCustomHTML(Writer fileWriter, Object object, List<Change> changes, Database database) throws IOException
writeFooterback to summary
private void writeFooter(Writer fileWriter, String changeLog) throws IOException
writeHeaderback to summary
private void writeHeader(Object object, Writer fileWriter) throws IOException
writeHTMLback to summary
public void writeHTML(Object object, List<Change> ranChanges, List<Change> changesToRun, String changeLog) throws IOException, DatabaseHistoryException, DatabaseException
writeTableback to summary
protected void writeTable(String title, List<List<String>> cells, Writer fileWriter) throws IOException
writeTDback to summary
private void writeTD(Writer fileWriter, String filePath) throws IOException