result[1] = bindingParametersList.get( index );
Object[] result = new Object[]{ handle, null }; int index = bindingParametersNameList.indexOf( handle.getName( ) ); if ( index != -1 ) { result[1] = bindingParametersList.get( index ); } resultList.add( result );
		public Object[] getElements( Object inputElement )		{			if ( inputElement == null )			{				return new Object[0];			}			ReportItemHandle inputHandle = (ReportItemHandle) inputElement;			DataSetHandle dataHandle = inputHandle.getDataSet( );			if ( dataHandle == null )			{				return new Object[0];			}			List bindingParametersList = new ArrayList( );			List bindingParametersNameList = new ArrayList( );			List resultList = new ArrayList( );			for ( Iterator iterator = inputHandle.paramBindingsIterator( ); iterator.hasNext( ); )			{				ParamBindingHandle handle = (ParamBindingHandle) iterator.next( );				bindingParametersList.add( handle );				bindingParametersNameList.add( handle.getParamName( ) );			}			for ( Iterator iterator = dataHandle.parametersIterator( ); iterator.hasNext( ); )			{				DataSetParameterHandle handle = (DataSetParameterHandle) iterator.next( );				Object[] result = new Object[]{						handle, null				};				int index = bindingParametersNameList.indexOf( handle.getName( ) );				if ( index != -1 )				{					result[1] = bindingParametersList.get( index );				}				resultList.add( result );			}			return resultList.toArray( );		}