* @throws org.xml.sax.SAXException if there is a parsing error.
*/
protected void doneParsing()
throws SAXException
{
final TemplateCollection templateCollection = (TemplateCollection)
getRootHandler().getHelperObject
(ReportDefinitionReadHandler.TEMPLATE_FACTORY_KEY);
for (int i = 0; i < templateList.size(); i++)
{
final TemplateReadHandler readHandler =
(TemplateReadHandler) templateList.get(i);
templateCollection.addTemplate
((TemplateDescription) readHandler.getObjectDescription());
}
}