protected void doneParsing() throws SAXException
{
element = (AbstractRootLevelBand) contentReadHandler.getElement();
for (int i = 0; i < subReportReadHandler.size(); i++)
{
final ElementReadHandler handler = (ElementReadHandler) subReportReadHandler.get(i);
final Object o = handler.getObject();
if (o instanceof SubReport)
{
element.addSubReport((SubReport) o);
}
}