return new ListInstance( ( ContainerContent ) element );
return new ListInstance( ( ContainerContent ) element, context );
	public static IReportElementInstance getInstance( IElement element )	{		if ( element == null )			return null;		if ( element instanceof CellContent )			return new CellInstance( ( CellContent ) element );		if ( element instanceof DataContent )			return new DataItemInstance( ( DataContent ) element );		if ( element instanceof ImageContent )			return new ImageInstance( ( ImageContent ) element );		if ( element instanceof LabelContent )			return new LabelInstance( ( LabelContent ) element );		if ( element instanceof ContainerContent )			return new ListInstance( ( ContainerContent ) element );		if ( element instanceof RowContent )			return new RowInstance( ( RowContent ) element );		if ( element instanceof TableContent )		{			Object genBy = ( ( TableContent ) element ).getGenerateBy( );			if ( genBy instanceof TableItemDesign )				return new TableInstance( ( TableContent ) element );			else if ( genBy instanceof GridItemDesign )				return new GridInstance( ( TableContent ) element );		}		if ( element instanceof TextContent )			return new TextItemInstance( ( TextContent ) element );		if ( element instanceof ForeignContent )		{			ForeignContent fc = ( ForeignContent ) element;			if ( IForeignContent.HTML_TYPE.equals( fc.getRawType( ) )					|| IForeignContent.TEXT_TYPE.equals( fc.getRawType( ) )					|| IForeignContent.TEMPLATE_TYPE.equals( fc.getRawType( ) ) )				return new TextItemInstance( fc );		}		return null;	}