use of org.mybatis.generator.api.dom.xml.Document in project generator by mybatis.
the class IntrospectedTableIbatis2Java2Impl method getGeneratedXmlFiles.
@Override
public List<GeneratedXmlFile> getGeneratedXmlFiles() {
List<GeneratedXmlFile> answer = new ArrayList<GeneratedXmlFile>();
Document document = sqlMapGenerator.getDocument();
GeneratedXmlFile gxf = new GeneratedXmlFile(document, getIbatis2SqlMapFileName(), getIbatis2SqlMapPackage(), context.getSqlMapGeneratorConfiguration().getTargetProject(), true, context.getXmlFormatter());
if (context.getPlugins().sqlMapGenerated(gxf, this)) {
answer.add(gxf);
}
return answer;
}
Aggregations