/*******************************************************************************
 * Copyright (c) 2006 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/

package org.eclipse.birt.chart.datafeed;

import org.eclipse.birt.chart.model.attribute.FormatSpecifier;

import com.ibm.icu.util.ULocale;

/**
 * The entry is a data point that is usually made up of several data. It is
 * responsible for formatting the entry according to the formatter and locale.
 */

public interface IDataPointEntry
{

	/**
	 * Returns the formatted string representation of current object by given
	 * formatter and locale.
	 * 
	 * @param formatter
	 *            An formatter
	 * @param locale
	 *            Specific locale.
	 * @return The string representation
	 */
	String getFormattedString( Object formatter, ULocale locale );

	/**
	 * Returns the formatted string representation of current object by given
	 * formatter and locale.
	 * 
	 * @param type
	 *            data point type
	 * @param formatter
	 *            An formatter
	 * @param locale
	 *            Specific locale.
	 * @return The string representation
	 * @see #getDataPointTypes()
	 */
	String getFormattedString( String type, FormatSpecifier formatter,
			ULocale locale );
}

@@ -1600,11 +1600,121 @@
 ocale );
+%0A%0A%09/**%0A%09 * Returns if the DataPointEntry is valid.%0A%09 * %0A%09 * @return%0A%09 * @since 2.5.0%0A%09 */%0A%09boolean isValid( );
 %0A%7D%0A

Fix Bugzilla #257468 - Null value is shown as 'NaN' in legend.