public class ComponentsXmlWriter extends AbstractComponentXmlWriter
ComponentsExtensionsRegistryFactory
jasperReportsContext, PROPERTY_COMPONENTS_PREFIX, PROPERTY_COMPONENTS_VERSION_SUFFIX, versionComparator
Constructor and Description |
---|
ComponentsXmlWriter(JasperReportsContext jasperReportsContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isBarcode4jName(String name) |
boolean |
isToWrite(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Specifies whether this component should be written out.
|
protected void |
writeBarbecue(JRComponentElement componentElement,
JRXmlWriter reportWriter) |
protected void |
writeGroupCells(JRComponentElement componentElement,
List<GroupCell> cells,
String name,
JRXmlWriter reportWriter) |
protected void |
writeGroupRows(JRComponentElement componentElement,
List<GroupRow> rows,
String name,
JRXmlWriter reportWriter) |
protected void |
writeList(JRComponentElement componentElement,
JRXmlWriter reportWriter) |
protected void |
writeMap(JRComponentElement componentElement,
JRXmlWriter reportWriter) |
protected void |
writeTable(JRComponentElement componentElement,
JRXmlWriter reportWriter) |
protected void |
writeTableBaseCell(JRComponentElement componentElement,
BaseCell cell,
String name,
JRXmlWriter reportWriter) |
protected void |
writeTableCell(JRComponentElement componentElement,
Cell cell,
String name,
JRXmlWriter reportWriter) |
protected void |
writeTableRow(JRComponentElement componentElement,
Row row,
String name,
JRXmlWriter reportWriter) |
void |
writeToXml(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Outputs the XML representation of a component.
|
getVersion, isNewerVersionOrEqual, isOlderVersionThan, writeExpression, writeExpression
public ComponentsXmlWriter(JasperReportsContext jasperReportsContext)
public void writeToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
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 writeList(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeBarbecue(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeMap(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeTable(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeTableBaseCell(JRComponentElement componentElement, BaseCell cell, String name, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeGroupCells(JRComponentElement componentElement, List<GroupCell> cells, String name, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeTableCell(JRComponentElement componentElement, Cell cell, String name, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeGroupRows(JRComponentElement componentElement, List<GroupRow> rows, String name, JRXmlWriter reportWriter) throws IOException
IOException
protected void writeTableRow(JRComponentElement componentElement, Row row, String name, JRXmlWriter reportWriter) throws IOException
IOException
public boolean isToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter)
ComponentXmlWriter
protected boolean isBarcode4jName(String name)
Copyright © 2021 TIBCO Software Inc.. All rights reserved.