writeDataSource(element.getDataSource());
return;
}
final TemplateCollector tc = getReportWriter().getTemplateCollector();
final Template template = (Template) element.getDataSource();
// the template description of the element template will get the
// template name as its name.
final TemplateDescription templateDescription =
tc.getDescription(template);