Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.component
Interface ComponentXmlWriter

All Known Implementing Classes:
  ComponentsXmlHandler, SpiderChartXmlWriter

    public interface ComponentXmlWriter

A component writer is responsible for producing a XML representation of component instances.

Its function is inverse to the one of `XmlDigesterConfigurer`, which transforms XML fragments into object instances.

Version:
  $Id: ComponentXmlWriter.java 3033 2009-08-27 11:46:22Z teodord $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
`void` | `writeToXml(ComponentKey componentKey, Component component, JRXmlWriter reportWriter)` Outputs the XML representation of a component.

Method Detail

### writeToXml

    void writeToXml(ComponentKey componentKey,
                    Component component,
                    JRXmlWriter reportWriter)
                    throws java.io.IOException

  Outputs the XML representation of a component.

  Parameters:
    `componentKey` - the component type key
    `component` - the component instance
    `reportWriter` - the report writer to which output is to be written
  Throws:
    `java.io.IOException` - exceptions produced while writing to the output stream
  See Also:
    `ComponentKey.getNamespacePrefix()`, `JRXmlWriter.getXmlWriteHelper()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com