childTOCNodes[i].setDisplayName( ParameterAccessor .htmlEncode( child.getDisplayName( ) ) );
childTOCNodes[i].setDisplayName( child.getDisplayName( ) );
	protected void prepareResponse( ) throws ReportServiceException, RemoteException	{		TOC toc = new TOC( );		List children = __node.getChildren( );		if ( children != null && children.size( ) > 0 )		{			TOC[] childTOCNodes = new TOC[children.size( )];			for ( int i = 0; i < children.size( ); i++ )			{				ToC child = ( ToC ) children.get( i );				childTOCNodes[i] = new TOC( );				childTOCNodes[i].setId( child.getID( ) );				childTOCNodes[i].setDisplayName( ParameterAccessor						.htmlEncode( child.getDisplayName( ) ) );				childTOCNodes[i].setBookmark( child.getBookmark( ) );				childTOCNodes[i].setIsLeaf( new Boolean(						child.getChildren( ) == null								|| child.getChildren( ).size( ) <= 0 ) );			}			toc.setChild( childTOCNodes );		}		Data data = new Data( );		data.setTOC( toc );		UpdateData updateData = new UpdateData( );		updateData.setTarget( "birtToc" ); //$NON-NLS-1$		updateData.setData( data );		Update update = new Update( );		update.setUpdateData( updateData );		response.setUpdate( new Update[] { update } );	}