Class XMLWriter

  • All Implemented Interfaces:
    Serializable, Cloneable, EventListener, ReportListener, Expression, Function, OutputFunction

    public class XMLWriter
    extends AbstractFunction
    implements OutputFunction
    The whole basic XML output is deprecated as it cannot handle inline subreports.
    The XMLWriter is the content creation function used to create the XML content. This implementation does no layouting, the bands and elements are written in the defined order.

    The xml writer is intended as simple example on how to write OutputFunctions, the XML-code generated is very simple and easy to understand. If you seek complexer XML-Outputs, have a look at the HTML-Writer, this implementation is able to write XHTML output.

    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • XMLWriter

        public XMLWriter()
        Creates a new XMLWriter function. The Writer gets a dependency level of -1.