net.sf.jasperreports.engine.xml

## Interface XmlValueHandler

-     public interface XmlValueHandler

  A handler that deals with arbitrary values being exported to XML and parsed back to `JasperPrint` objects.
  Version:
    $Id: XmlValueHandler.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configureDigester(JRXmlDigester digester)` Configures an XML digester by adding the rules required to parse exported values.
    `XmlHandlerNamespace` | `getNamespace()` Returns the namespace of the elements generated on XML export.
    `boolean` | `writeToXml(java.lang.Object value, JRXmlExporter exporter)` Outputs the XML representation of a value if the value is supported by this handler.

- - ### Method Detail

    - #### getNamespace

          XmlHandlerNamespace getNamespace()

      Returns the namespace of the elements generated on XML export.
      Returns:
        the namespace of the elements generated on XML export

    - #### configureDigester

          void configureDigester(JRXmlDigester digester)

      Configures an XML digester by adding the rules required to parse exported values.
      Parameters:
        `digester` - the digester to configure

    - #### writeToXml

          boolean writeToXml(java.lang.Object value,
                           JRXmlExporter exporter)
                             throws java.io.IOException

      Outputs the XML representation of a value if the value is supported by this handler.
      Parameters:
        `value` - the value
        `exporter` - the XML exporter
      Returns:
        `true` iff the value is supported by this handler
      Throws:
        `java.io.IOException`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com