Package net.sf.jasperreports.engine.xml
Class XmlValueHandlerUtils
java.lang.Object
net.sf.jasperreports.engine.xml.XmlValueHandlerUtils
Class the provides access to
XML value handlers.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of XML value handlers.static XmlValueHandlerUtilsinstance()Returns the singleton instance.booleanwriteToXml(Object value, JRXmlExporter exporter) Outputs the XML representation of a value if the value is supported by any handler.
-
Method Details
-
instance
Returns the singleton instance.- Returns:
- the singleton instance
-
getHandlers
Returns the list of XML value handlers.- Returns:
- the list of XML value handlers
-
writeToXml
Outputs the XML representation of a value if the value is supported by any handler.- Parameters:
value- the valueexporter- the exporter- Returns:
trueiff a handler that supports the value was found- Throws:
IOException- See Also:
-