public class IconLabelComponentXmlWriter extends java.lang.Object implements ComponentXmlWriter
Constructor and Description |
---|
IconLabelComponentXmlWriter(JasperReportsContext jasperReportsContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isNewerVersionOrEqual(java.lang.String currentVersion,
java.lang.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 java.io.IOException
ComponentXmlWriter
writeToXml
in interface ComponentXmlWriter
componentElement
- the component elementreportWriter
- the report writer to which output is to be writtenjava.io.IOException
- exceptions produced while writing to the
output streamComponentKey.getNamespacePrefix()
,
JRXmlWriter.getXmlWriteHelper()
protected void writeIconLabelComponent(IconLabelComponent iconLabelComponent, ComponentKey componentKey, JRXmlWriter reportWriter) throws java.io.IOException
java.io.IOException
protected boolean isNewerVersionOrEqual(java.lang.String currentVersion, java.lang.String oldVersion)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com