public class XmlValueHandlerUtils extends Object
XML value handlers
.Modifier and Type | Method and 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.
|
public static XmlValueHandlerUtils instance()
public List<XmlValueHandler> getHandlers()
public boolean writeToXml(Object value, JRXmlExporter exporter) throws IOException
value
- the valueexporter
- the exportertrue
iff a handler that supports the value was foundIOException
XmlValueHandler.writeToXml(Object, JRXmlExporter)
Copyright © 2017. All rights reserved.