org.pentaho.chart.plugin.xml
Class XmlChartPlugin

java.lang.Object
  extended by org.pentaho.chart.plugin.AbstractChartPlugin
      extended by org.pentaho.chart.plugin.xml.XmlChartPlugin
All Implemented Interfaces:
IChartPlugin

public class XmlChartPlugin
extends AbstractChartPlugin

Todo: Document Me

Author:
Thomas Morgner

Field Summary
static String PLUGIN_ID
           
 
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
XmlChartPlugin()
           
 
Method Summary
 String getPluginId()
           
 Set<IOutput.OutputTypes> getSupportedOutputs()
          Returns a set of OutputTypes that this plugin can return (via the IOutput returned from renderChartDocument).
 IOutput renderChartDocument(ChartDocumentContext chartDocumentContext, ChartTableModel data)
          Renders the chart based on the chartDocument and data.
 IOutput renderChartDocument(ChartModel chartModel, IChartDataModel data)
           
 
Methods inherited from class org.pentaho.chart.plugin.AbstractChartPlugin
validateChartDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

XmlChartPlugin

public XmlChartPlugin()
Method Detail

renderChartDocument

public IOutput renderChartDocument(ChartModel chartModel,
                                   IChartDataModel data)

renderChartDocument

public IOutput renderChartDocument(ChartDocumentContext chartDocumentContext,
                                   ChartTableModel data)
Description copied from interface: IChartPlugin
Renders the chart based on the chartDocument and data. Chart can be accessed via the output parameter which gets returned from this method call

Returns:
IOutput

getSupportedOutputs

public Set<IOutput.OutputTypes> getSupportedOutputs()
Description copied from interface: IChartPlugin
Returns a set of OutputTypes that this plugin can return (via the IOutput returned from renderChartDocument).

Returns:

getPluginId

public String getPluginId()