use of org.eclipse.vorto.codegen.json.templates.JsonIMTemplate in project vorto by eclipse.
the class JsonGenerator method generate.
public GenerationResultZip generate(InformationModel infomodel, InvocationContext context, IVortoCodeGenProgressMonitor monitor) throws VortoCodeGeneratorException {
GenerationResultZip output = new GenerationResultZip(infomodel, getServiceKey());
GeneratorTaskFromFileTemplate<InformationModel> imTemplate = new GeneratorTaskFromFileTemplate<InformationModel>(new JsonIMTemplate());
imTemplate.generate(infomodel, context, output);
return output;
}
Aggregations