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