cuba.webservice
Class TunnelingMarshaller

java.lang.Object
  extended by cuba.webservice.TunnelingMarshaller

public class TunnelingMarshaller
extends java.lang.Object

TunnelingMarshaller.

Implements the marshalling and unmarshalling of objects using bas64.

Version:
$Revision: 1.1 $ - $Modtime: $ ($Author: jlr $)
Author:
Thomas Kuhlmann

Constructor Summary
TunnelingMarshaller()
           
 
Method Summary
static java.lang.String marshal(java.lang.Object pSourceObj)
          Marshall the given object using bas64-encoding and return it as string.
static java.lang.Object unmarshal(java.lang.String pEncodedString)
          Unmarshall the given string (base64) and return the resulting object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TunnelingMarshaller

public TunnelingMarshaller()
Method Detail

marshal

public static java.lang.String marshal(java.lang.Object pSourceObj)
                                throws java.rmi.RemoteException
Marshall the given object using bas64-encoding and return it as string.

Throws:
java.rmi.RemoteException

unmarshal

public static java.lang.Object unmarshal(java.lang.String pEncodedString)
                                  throws java.rmi.RemoteException
Unmarshall the given string (base64) and return the resulting object.

Throws:
java.rmi.RemoteException