for (ListIterator it = elements.listIterator(); it.hasNext();)
{
JRPrintElement element = (JRPrintElement) it.next();
if (element instanceof JRGenericPrintElement)
{
JRGenericPrintElement genericElement =
(JRGenericPrintElement) element;
GenericElementTransformer handler =
(GenericElementTransformer) GenericElementHandlerEnviroment.getHandler(
genericElement.getGenericType(), transformerExportKey);
if (handler != null && handler.toExport(genericElement))
{
JRPrintElement transformed = handler.transformElement(
context, genericElement);