Package net.sf.jasperreports.engine.xml
Class XmlValueHandlerUtils
- java.lang.Object
-
- net.sf.jasperreports.engine.xml.XmlValueHandlerUtils
-
public class XmlValueHandlerUtils extends Object
Class the provides access toXML value handlers
.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<XmlValueHandler>
getHandlers()
Returns the list of XML value handlers.static XmlValueHandlerUtils
instance()
Returns the singleton instance.boolean
writeToXml(Object value, JRXmlExporter exporter)
Outputs the XML representation of a value if the value is supported by any handler.
-
-
-
Method Detail
-
instance
public static XmlValueHandlerUtils instance()
Returns the singleton instance.- Returns:
- the singleton instance
-
getHandlers
public List<XmlValueHandler> getHandlers()
Returns the list of XML value handlers.- Returns:
- the list of XML value handlers
-
writeToXml
public boolean writeToXml(Object value, JRXmlExporter exporter) throws IOException
Outputs the XML representation of a value if the value is supported by any handler.- Parameters:
value
- the valueexporter
- the exporter- Returns:
true
iff a handler that supports the value was found- Throws:
IOException
- See Also:
XmlValueHandler.writeToXml(Object, JRXmlExporter)
-
-