public static class LiquibaseXMLTransformer.Factory extends java.lang.Object implements TransformerFactory
Constructor and Description |
---|
Factory(javax.xml.transform.sax.TransformerHandler transformerHandler,
java.sql.DatabaseMetaData metaData,
EntityGraph entityGraph,
java.lang.String scriptFile,
Session session,
ExecutionContext executionContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Session.ResultSetReader |
create(Table table)
Creates transformer (as
Session.ResultSetReader which
transforms rows of a given table into an external representation. |
public Factory(javax.xml.transform.sax.TransformerHandler transformerHandler, java.sql.DatabaseMetaData metaData, EntityGraph entityGraph, java.lang.String scriptFile, Session session, ExecutionContext executionContext)
transformerHandler
- to write the XML intometaData
- database meta datapublic Session.ResultSetReader create(Table table) throws java.sql.SQLException
Session.ResultSetReader
which
transforms rows of a given table into an external representation.create
in interface TransformerFactory
table
- the tablejava.sql.SQLException