org.eclipse.ecf.remoteservice.client
Class StringParameterSerializer

java.lang.Object
  extended by org.eclipse.ecf.remoteservice.client.AbstractParameterSerializer
      extended by org.eclipse.ecf.remoteservice.client.StringParameterSerializer
All Implemented Interfaces:
IRemoteCallParameterSerializer

public class StringParameterSerializer
extends AbstractParameterSerializer
implements IRemoteCallParameterSerializer

Parameter serializer for String parameters.

Since:
4.0

Constructor Summary
StringParameterSerializer()
           
 
Method Summary
 IRemoteCallParameter serializeParameter(java.lang.String uri, IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault, java.lang.Object paramToSerialize)
          Serialize a remote call parameter.
 
Methods inherited from class org.eclipse.ecf.remoteservice.client.AbstractParameterSerializer
serializeParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ecf.remoteservice.client.IRemoteCallParameterSerializer
serializeParameter
 

Constructor Detail

StringParameterSerializer

public StringParameterSerializer()
Method Detail

serializeParameter

public IRemoteCallParameter serializeParameter(java.lang.String uri,
                                               IRemoteCall call,
                                               IRemoteCallable callable,
                                               IRemoteCallParameter paramDefault,
                                               java.lang.Object paramToSerialize)
                                        throws java.io.NotSerializableException
Description copied from interface: IRemoteCallParameterSerializer
Serialize a remote call parameter.

Specified by:
serializeParameter in interface IRemoteCallParameterSerializer
Parameters:
uri - the endpoint. Should not be null.
call - the call associated with the parameter to serialize. Will not be null.
callable - the callable associated with the parameter to serialize. Will not be null.
paramDefault - the default value (from the callable), for the parameter to serialize.
paramToSerialize - the actual parameter value to serialize.
Returns:
IRemoteCallParameter the serialized parameter...with appropriate name and serialized value.
Throws:
java.io.NotSerializableException