}
}
}
private String writeJsDefinition( MetaModel model ) {
IThingWriterFactory factory = new CdeRunJsThingWriterFactory();
IThingWriter writer;
try {
writer = factory.getWriter( model );
} catch ( UnsupportedThingException ex ) {
logger.error( "Error while obtaining the model writer from the factory.", ex );
return null;
}