Interface ComponentXmlWriter
- All Known Implementing Classes:
AbstractComponentXmlWriter,ComponentsXmlWriter,IconLabelComponentXmlWriter,SortComponentXmlWriter,SpiderChartXmlWriter
public interface ComponentXmlWriter
A component writer is responsible for producing a XML representation of
component instances.
Its function is inverse to the one of XmlDigesterConfigurer, which
transforms XML fragments into object instances.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter) Specifies whether this component should be written out.voidwriteToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) Outputs the XML representation of a component.
-
Method Details
-
isToWrite
Specifies whether this component should be written out. This is useful for versioning. -
writeToXml
Outputs the XML representation of a component.- 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:
-