* @throws ReportWriterException if the report serialisation failed.
*/
public void write()
throws IOException, ReportWriterException
{
final AttributeList attList = new AttributeList();
if (template.getName() != null)
{
// dont copy the parent name for anonymous templates ...
if (template.getName().equals(parent.getName()) == false)
{
attList.setAttribute(ExtParserModule.NAMESPACE, "name", template.getName());
}
}
attList.setAttribute(ExtParserModule.NAMESPACE, "references", parent.getName());
boolean tagWritten = false;
final XmlWriter writer = getXmlWriter();
final Iterator it = template.getParameterNames();
while (it.hasNext())