org.pentaho.chart.plugin
Class AbstractChartPlugin

java.lang.Object
  extended by org.pentaho.chart.plugin.AbstractChartPlugin
All Implemented Interfaces:
IChartPlugin
Direct Known Subclasses:
JFreeChartPlugin, OpenFlashChartPlugin, XmlChartPlugin

public abstract class AbstractChartPlugin
extends Object
implements IChartPlugin

Author:
wseyler This class is a Abstract implementation of the IChartPlugin. As such it contains implementations that should be common across all chart plugin implementations.

Field Summary
 
Fields inherited from interface org.pentaho.chart.plugin.IChartPlugin
ERROR_DUPLICATE_SINGLETON, ERROR_INDETERMINATE_CHART_TYPE, ERROR_INVALID_DEFINITION, ERROR_MISSING_REQUIRED_DATA, RESULT_ERROR, RESULT_VALIDATED
 
Constructor Summary
AbstractChartPlugin()
           
 
Method Summary
 ChartResult validateChartDocument(ChartDocument chartDocument)
          Validates the current chart document.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.chart.plugin.IChartPlugin
getPluginId, getSupportedOutputs, renderChartDocument, renderChartDocument
 

Constructor Detail

AbstractChartPlugin

public AbstractChartPlugin()
Method Detail

validateChartDocument

public ChartResult validateChartDocument(ChartDocument chartDocument)
Description copied from interface: IChartPlugin
Validates the current chart document. AbstractChartPlugin implements the validations that are NOT plugin specific. The plugin should override and call the super before doing it's validation

Specified by:
validateChartDocument in interface IChartPlugin
Returns: