org.jboss.seam.remoting
Class MarshalUtils

java.lang.Object
  extended by org.jboss.seam.remoting.MarshalUtils

public class MarshalUtils
extends Object

Author:
Shane Bryzak

Constructor Summary
MarshalUtils()
           
 
Method Summary
static void marshalCallResult(Call call, OutputStream out)
           
static void marshalException(Throwable exception, CallContext ctx, OutputStream out)
           
static void marshalModel(Model model, OutputStream out)
           
static void marshalModelExpand(Model model, Wrapper value, OutputStream out, int newRefIdx)
           
static void marshalNewRefs(List<Wrapper> refs, int startIdx, List<String> constraints, OutputStream out)
           
static void marshalRefs(List<Wrapper> refs, List<String> constraints, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarshalUtils

public MarshalUtils()
Method Detail

marshalCallResult

public static void marshalCallResult(Call call,
                                     OutputStream out)
                              throws IOException
Throws:
IOException

marshalException

public static void marshalException(Throwable exception,
                                    CallContext ctx,
                                    OutputStream out)
                             throws IOException
Throws:
IOException

marshalModel

public static void marshalModel(Model model,
                                OutputStream out)
                         throws IOException
Throws:
IOException

marshalModelExpand

public static void marshalModelExpand(Model model,
                                      Wrapper value,
                                      OutputStream out,
                                      int newRefIdx)
                               throws IOException
Throws:
IOException

marshalNewRefs

public static void marshalNewRefs(List<Wrapper> refs,
                                  int startIdx,
                                  List<String> constraints,
                                  OutputStream out)
                           throws IOException
Throws:
IOException

marshalRefs

public static void marshalRefs(List<Wrapper> refs,
                               List<String> constraints,
                               OutputStream out)
                        throws IOException
Throws:
IOException


Copyright © 2011 Seam Framework. All Rights Reserved.