Package net.sf.jasperreports.engine.xml
Interface XmlValueHandler
-
public interface XmlValueHandlerA handler that deals with arbitrary values being exported to XML and parsed back toJasperPrintobjects.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigureDigester(JRXmlDigester digester)Configures an XML digester by adding the rules required to parse exported values.XmlHandlerNamespacegetNamespace()Returns the namespace of the elements generated on XML export.booleanwriteToXml(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(Object value, JRXmlExporter exporter) throws IOException
Outputs the XML representation of a value if the value is supported by this handler.- Parameters:
value- the valueexporter- the XML exporter- Returns:
trueiff the value is supported by this handler- Throws:
IOException
-
-