protected void handleItemContent( ReportItemDesign item,
protected void handleItemContent( ExtendedItemDesign item,
	protected void handleItemContent( ReportItemDesign item,			IReportEmitter emitter, IExtendedItemContent content, int type,			Object output )	{		switch ( type )		{			case IReportItemPresentation.OUTPUT_NONE :				break;			case IReportItemPresentation.OUTPUT_AS_IMAGE :				// the output object is a image, so create a image content				// object				ImageItemContent image = (ImageItemContent) ContentFactory						.createImageContent( item , context.getContentObject() );				if ( output instanceof InputStream )				{					image.setData( readContent( (InputStream) output ) );				}				else if ( output instanceof byte[] )				{					image.setData( (byte[]) output );				}				else				{					assert false;					logger.log( Level.SEVERE,							"unsupported image type:{0}", output ); //$NON-NLS-1$				}				image.setImageSource( ImageItemDesign.IMAGE_EXPRESSION );				IReportItemEmitter imageEmitter = emitter.getEmitter( "image" ); //$NON-NLS-1$				if ( imageEmitter != null )				{					imageEmitter.start( image );					imageEmitter.end( );				}				break;			case IReportItemPresentation.OUTPUT_AS_CUSTOM :				( (ExtendedItemContent) content ).setContent( output );				//get the emmiter type, and give it to others type				IReportItemEmitter itemEmitter = emitter						.getEmitter( "extendedItem" ); //$NON-NLS-1$				if ( itemEmitter != null )				{					itemEmitter.start( content );					itemEmitter.end( );				}				break;			case IReportItemPresentation.OUTPUT_AS_DRAWING :			case IReportItemPresentation.OUTPUT_AS_HTML_TEXT :			case IReportItemPresentation.OUTPUT_AS_TEXT :				assert false;				break;		}	}