public interface ComponentXmlWriter
Its function is inverse to the one of XmlDigesterConfigurer
, which
transforms XML fragments into object instances.
Modifier and Type | Method and Description |
---|---|
boolean |
isToWrite(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Specifies whether this component should be written out.
|
void |
writeToXml(JRComponentElement componentElement,
JRXmlWriter reportWriter)
Outputs the XML representation of a component.
|
boolean isToWrite(JRComponentElement componentElement, JRXmlWriter reportWriter)
void writeToXml(JRComponentElement componentElement, JRXmlWriter reportWriter) throws IOException
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()
Copyright © 2016. All rights reserved.