public class SpiderChartXmlWriter extends Object implements ComponentXmlWriter
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_axisLineColor |
static String |
ATTRIBUTE_axisLineWidth |
static String |
ATTRIBUTE_headPercent |
static String |
ATTRIBUTE_interiorGap |
static String |
ATTRIBUTE_labelColor |
static String |
ATTRIBUTE_labelGap |
static String |
ATTRIBUTE_rotation |
static String |
ATTRIBUTE_startAngle |
static String |
ATTRIBUTE_tableOrder |
static String |
ATTRIBUTE_webFilled |
static String |
ELEMENT_chartSettings |
static String |
ELEMENT_maxValueExpression |
static String |
ELEMENT_spiderChart |
static String |
ELEMENT_spiderDataset |
static String |
ELEMENT_spiderPlot |
Constructor and Description |
---|
SpiderChartXmlWriter(JasperReportsContext jasperReportsContext) |
SpiderChartXmlWriter(JasperReportsContext jasperReportsContext,
String version,
VersionComparator versionComparator) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isNewerVersionOrEqual(String currentVersion,
String oldVersion) |
boolean |
isToWrite(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Specifies whether this component should be written out.
|
protected void |
writeExpression(String name,
XmlNamespace namespace,
JRExpression expression,
boolean writeClass,
JRXmlWriteHelper writer) |
void |
writeToXml(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Outputs the XML representation of a component.
|
public static final String ELEMENT_spiderChart
public static final String ELEMENT_chartSettings
public static final String ELEMENT_spiderDataset
public static final String ELEMENT_spiderPlot
public static final String ELEMENT_maxValueExpression
public static final String ATTRIBUTE_rotation
public static final String ATTRIBUTE_tableOrder
public static final String ATTRIBUTE_webFilled
public static final String ATTRIBUTE_startAngle
public static final String ATTRIBUTE_headPercent
public static final String ATTRIBUTE_interiorGap
public static final String ATTRIBUTE_axisLineColor
public static final String ATTRIBUTE_axisLineWidth
public static final String ATTRIBUTE_labelGap
public static final String ATTRIBUTE_labelColor
public SpiderChartXmlWriter(JasperReportsContext jasperReportsContext)
public SpiderChartXmlWriter(JasperReportsContext jasperReportsContext, String version, VersionComparator versionComparator)
public boolean isToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter)
ComponentXmlWriter
isToWrite
in interface ComponentXmlWriter
public void writeToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
ComponentXmlWriter
writeToXml
in interface ComponentXmlWriter
componentElement
- the component elementreportWriter
- the report writer to which output is to be writtenIOException
- exceptions produced while writing to the
output streamComponentKey.getNamespacePrefix()
,
JRXmlWriter.getXmlWriteHelper()
protected boolean isNewerVersionOrEqual(String currentVersion, String oldVersion)
protected void writeExpression(String name, XmlNamespace namespace, JRExpression expression, boolean writeClass, JRXmlWriteHelper writer) throws IOException
IOException
Copyright © 2019 TIBCO Software Inc.. All rights reserved.