public class ComponentsXmlWriter extends AbstractComponentXmlWriter
ComponentsExtensionsRegistryFactoryjasperReportsContext, PROPERTY_COMPONENTS_PREFIX, PROPERTY_COMPONENTS_VERSION_SUFFIX, versionComparator| Constructor and Description |
|---|
ComponentsXmlWriter(JasperReportsContext jasperReportsContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isToWrite(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Specifies whether this component should be written out.
|
protected void |
writeGroupCells(JRComponentElement componentElement,
List<GroupCell> cells,
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 |
writeTableCell(JRComponentElement componentElement,
Cell cell,
String name,
JRXmlWriter reportWriter) |
void |
writeToXml(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Outputs the XML representation of a component.
|
getVersion, isNewerVersionOrEqual, isOlderVersionThan, writeExpression, writeExpressionpublic ComponentsXmlWriter(JasperReportsContext jasperReportsContext)
public void writeToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
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 writeList(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOExceptionprotected void writeMap(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOExceptionprotected void writeTable(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
IOExceptionprotected void writeGroupCells(JRComponentElement componentElement, List<GroupCell> cells, String name, JRXmlWriter reportWriter) throws IOException
IOExceptionprotected void writeTableCell(JRComponentElement componentElement, Cell cell, String name, JRXmlWriter reportWriter) throws IOException
IOExceptionpublic boolean isToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter)
ComponentXmlWriterCopyright © 2017. All rights reserved.