@Nullable SoyMapData data, @Nullable SoyMapData ijData, Set<String> activeDelPackageNames,
@Nullable SoyMsgBundle msgBundle, @Nullable SoyCssRenamingMap cssRenamingMap) {
TemplateNode template = templateRegistry.getBasicTemplate(templateName);
if (template == null) {
throw new SoyTofuException("Attempting to render undefined template '" + templateName + "'.");
}
if (data == null) {
data = new SoyMapData();
}
try {
RenderVisitor rv = tofuRenderVisitorFactory.create(
outputBuf, templateRegistry, data, ijData, null, activeDelPackageNames, msgBundle,
cssRenamingMap);
rv.exec(template);
} catch (RenderException re) {
throw new SoyTofuException(re);
}
}