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)
ComponentXmlWriterisToWrite in interface ComponentXmlWriterpublic void writeToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
ComponentXmlWriterwriteToXml in interface ComponentXmlWritercomponentElement - 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
IOExceptionCopyright © 2017. All rights reserved.