public class IconLabelComponentXmlWriter extends Object implements ComponentXmlWriter
Constructor and Description |
---|
IconLabelComponentXmlWriter(JasperReportsContext jasperReportsContext) |
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 |
writeIconLabelComponent(IconLabelComponent iconLabelComponent,
ComponentKey componentKey,
JRXmlWriter reportWriter) |
void |
writeToXml(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Outputs the XML representation of a component.
|
public IconLabelComponentXmlWriter(JasperReportsContext jasperReportsContext)
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 void writeIconLabelComponent(IconLabelComponent iconLabelComponent, ComponentKey componentKey, JRXmlWriter reportWriter) throws IOException
IOException
Copyright © 2017. All rights reserved.