Package liquibase.dbdoc
Class HTMLWriter
- java.lang.Object
-
- liquibase.dbdoc.HTMLWriter
-
- Direct Known Subclasses:
AuthorWriter
,ColumnWriter
,PendingChangesWriter
,PendingSQLWriter
,RecentChangesWriter
,TableWriter
public abstract class HTMLWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description HTMLWriter(Resource outputDir, Database database)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract String
createTitle(Object object)
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)
void
writeHTML(Object object, List<Change> ranChanges, List<Change> changesToRun, String changeLog)
protected void
writeTable(String title, List<List<String>> cells, Writer fileWriter)
-
-
-
Method Detail
-
writeCustomHTML
protected abstract void writeCustomHTML(Writer fileWriter, Object object, List<Change> changes, Database database) throws IOException
- Throws:
IOException
-
writeHTML
public void writeHTML(Object object, List<Change> ranChanges, List<Change> changesToRun, String changeLog) throws IOException, DatabaseHistoryException, DatabaseException
-
writeBody
protected void writeBody(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) throws IOException, DatabaseHistoryException, DatabaseException
-
writeTable
protected void writeTable(String title, List<List<String>> cells, Writer fileWriter) throws IOException
- Throws:
IOException
-
writeChanges
protected void writeChanges(String title, Writer fileWriter, List<Change> changes) throws IOException, DatabaseHistoryException, DatabaseException
-
-