litesoft
Diff Revisions
49
vs
60
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/converters/SendableUnknownDataTypeConverter.java
|
@@ -1,20 +1,20 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.forms.server.support.converters; |
3 |
3 |
|
|
|
4 |
+ |
import java.io.*; |
|
5 |
+ |
|
4 |
6 |
|
import org.litesoft.GWT.forms.server.support.nonpublic.*; |
5 |
|
- |
import org.litesoft.core.simpletypes.boxers.*; |
6 |
|
- |
import org.litesoft.rpcpassable.*; |
7 |
7 |
|
|
8 |
8 |
|
public class SendableUnknownDataTypeConverter extends AbstractSendableDataConverter |
9 |
9 |
|
{ |
10 |
10 |
|
public static final FormSendableDataConverter INSTANCE = new SendableUnknownDataTypeConverter(); |
11 |
11 |
|
|
12 |
|
- |
protected RPCpassable convertNotNullToPassable( Object pValue ) |
|
12 |
+ |
protected Serializable convertNotNullToPassable( Object pValue ) |
13 |
13 |
|
{ |
14 |
|
- |
return new BoxedString( "UnknownDataType: " + pValue.getClass() + " | " + pValue ); |
|
14 |
+ |
return "UnknownDataType: " + pValue.getClass() + " | " + pValue; |
15 |
15 |
|
} |
16 |
16 |
|
|
17 |
|
- |
protected Object convertNotNullNotBoxedTypeFromPassable( RPCpassable pValue ) |
|
17 |
+ |
protected Object convertNotNullNotBoxedTypeFromPassable( Serializable pValue ) |
18 |
18 |
|
{ |
19 |
19 |
|
return pValue.toString(); |
20 |
20 |
|
} |