Class IconLabelComponentXmlWriter
java.lang.Object
net.sf.jasperreports.components.iconlabel.IconLabelComponentXmlWriter
- All Implemented Interfaces:
ComponentXmlWriter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisNewerVersionOrEqual(String currentVersion, String oldVersion) booleanisToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter) Specifies whether this component should be written out.protected voidwriteIconLabelComponent(IconLabelComponent iconLabelComponent, ComponentKey componentKey, JRXmlWriter reportWriter) voidwriteToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) Outputs the XML representation of a component.
-
Constructor Details
-
IconLabelComponentXmlWriter
-
-
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:
-
writeIconLabelComponent
protected void writeIconLabelComponent(IconLabelComponent iconLabelComponent, ComponentKey componentKey, JRXmlWriter reportWriter) throws IOException - Throws:
IOException
-
isNewerVersionOrEqual
-