|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.chart.core.parser.ChartXMLParser
public class ChartXMLParser
Parses the chart XML document into the internal representation of the chart document.
Constructor Summary | |
---|---|
ChartXMLParser()
Initializes the chart parser by creating a default ResourceManager |
|
ChartXMLParser(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
Initializes the chart parser with a ResourceManager |
Method Summary | |
---|---|
org.pentaho.reporting.libraries.resourceloader.ResourceManager |
getResourceManager()
Returns the ResourceManager used by this instance of the chart parser |
ChartDocument |
parseChartDocument(URL chartDefinitionURL)
Parses the chart definition file into a ChartDocument . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartXMLParser()
ResourceManager
public ChartXMLParser(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
ResourceManager
resourceManager
- the ResourceManager
to use while parsing a chart definitionMethod Detail |
---|
public ChartDocument parseChartDocument(URL chartDefinitionURL) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
ChartDocument
.
NOTE: this method is protected for unit testing
chartDefinitionURL
- the location of the chart definition file
ChartDocument
that was created from the chart definition
org.pentaho.reporting.libraries.resourceloader.ResourceException
- indeicates an error occurred loading the chart defintionpublic org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
ResourceManager
used by this instance of the chart parser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |