public final class CallResultOutputter extends Object
The result output is always in the UTF-8 encoding.
public static void output(Writer out, FunctionResult result) throws IllegalArgumentException, IOException
out
- the output stream to send the XML to, cannot be null
.result
- the call result to convert to XML, cannot be null
.IllegalArgumentException
- if out == null
|| result == null
.IOException
- if there was an I/O error while writing to the output stream.See http://www.xins.org/.