Class SpiderChartXmlWriter
java.lang.Object
net.sf.jasperreports.components.spiderchart.SpiderChartXmlWriter
- All Implemented Interfaces:
ComponentXmlWriter
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionSpiderChartXmlWriter(JasperReportsContext jasperReportsContext) SpiderChartXmlWriter(JasperReportsContext jasperReportsContext, String version, VersionComparator versionComparator) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisNewerVersionOrEqual(String currentVersion, String oldVersion) booleanisToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter) Specifies whether this component should be written out.protected voidwriteExpression(String name, XmlNamespace namespace, JRExpression expression, boolean writeClass, JRXmlWriteHelper writer) voidwriteToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) Outputs the XML representation of a component.
-
Field Details
-
ELEMENT_spiderChart
- See Also:
-
ELEMENT_chartSettings
- See Also:
-
ELEMENT_spiderDataset
- See Also:
-
ELEMENT_spiderPlot
- See Also:
-
ELEMENT_maxValueExpression
- See Also:
-
ATTRIBUTE_rotation
- See Also:
-
ATTRIBUTE_tableOrder
- See Also:
-
ATTRIBUTE_webFilled
- See Also:
-
ATTRIBUTE_startAngle
- See Also:
-
ATTRIBUTE_headPercent
- See Also:
-
ATTRIBUTE_interiorGap
- See Also:
-
ATTRIBUTE_axisLineColor
- See Also:
-
ATTRIBUTE_axisLineWidth
- See Also:
-
ATTRIBUTE_labelGap
- See Also:
-
ATTRIBUTE_labelColor
- See Also:
-
-
Constructor Details
-
SpiderChartXmlWriter
-
SpiderChartXmlWriter
public SpiderChartXmlWriter(JasperReportsContext jasperReportsContext, String version, VersionComparator versionComparator)
-
-
Method Details
-
isToWrite
Description copied from interface:ComponentXmlWriterSpecifies whether this component should be written out. This is useful for versioning.- Specified by:
isToWritein interfaceComponentXmlWriter
-
writeToXml
public void writeToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException Description copied from interface:ComponentXmlWriterOutputs the XML representation of a component.- Specified by:
writeToXmlin interfaceComponentXmlWriter- Parameters:
componentElement- the component elementreportWriter- the report writer to which output is to be written- Throws:
IOException- exceptions produced while writing to the output stream- See Also:
-
isNewerVersionOrEqual
-
writeExpression
protected void writeExpression(String name, XmlNamespace namespace, JRExpression expression, boolean writeClass, JRXmlWriteHelper writer) throws IOException - Throws:
IOException
-