textItem = new TextItemInstance( ( TextContent ) content );
textItem = new TextItemInstance( ( TextContent ) content, context );
	private static void internalOnRender( AbstractContent content,			ExecutionContext context )	{		try		{			ReportItemDesign textItemDesign = ( ReportItemDesign ) content					.getGenerateBy( );			ITextItemInstance textItem = null;			if ( content instanceof TextContent )				textItem = new TextItemInstance( ( TextContent ) content );			else if ( content instanceof ForeignContent )				textItem = new TextItemInstance( ( ForeignContent ) content );			if ( handleJS( textItem, textItemDesign.getOnRender( ), context )					.didRun( ) )				return;			ITextItemEventHandler eh = ( ITextItemEventHandler ) getInstance( ( TextItemHandle ) textItemDesign					.getHandle( ) );			if ( eh != null )			{				eh.onRender( textItem, context.getReportContext( ) );			}		} catch ( Exception e )		{			log.log( Level.WARNING, e.getMessage( ), e );		}	}