Example #1
0
 @Override
 public void writeResultToStream(IActionResultRpcFilter result, OutputStream out)
     throws Exception {
   createMarshaller(new Class[] {result.getClass()}).marshal(result, out);
 }
Example #2
0
 @Override
 public String writeResultToString(IActionResultRpcFilter result) throws Exception {
   StringWriter writer = new StringWriter();
   createMarshaller(new Class[] {result.getClass()}).marshal(result, writer);
   return writer.toString();
 }