|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.remote.serializer.CharacterSerializer
public class CharacterSerializer
The serializer for Character.
| Constructor Summary | |
|---|---|
CharacterSerializer()
|
|
| Method Summary | |
|---|---|
int |
getMaxValue()
Gets the maximal value used to detect this type in stream. |
int |
getMinValue()
Gets the minimal value used to detect this type in stream. |
java.lang.Class<java.lang.Character> |
getTypeClass()
Gets the type class that can be serialized by this serializer. |
java.lang.Character |
read(UniversalSerializer pSerializer,
java.io.DataInputStream pIn,
int pTypeValue,
TypeCache pCache)
Reads in a serialized object from a stream. |
void |
write(UniversalSerializer pSerializer,
java.io.DataOutputStream pOut,
java.lang.Character pObject,
TypeCache pCache)
Writes a serialized object to a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterSerializer()
| Method Detail |
|---|
public java.lang.Class<java.lang.Character> getTypeClass()
getTypeClass in interface ITypeSerializer<java.lang.Character>public int getMinValue()
getMinValue in interface ITypeSerializer<java.lang.Character>public int getMaxValue()
getMaxValue in interface ITypeSerializer<java.lang.Character>
public java.lang.Character read(UniversalSerializer pSerializer,
java.io.DataInputStream pIn,
int pTypeValue,
TypeCache pCache)
throws java.lang.Exception
read in interface ITypeSerializer<java.lang.Character>pSerializer - the universal serializer.pIn - stream with serialized contentpTypeValue - type value.pCache - the cache for BeanType definitions
java.lang.Exception - if deserialization fails
public void write(UniversalSerializer pSerializer,
java.io.DataOutputStream pOut,
java.lang.Character pObject,
TypeCache pCache)
throws java.lang.Exception
write in interface ITypeSerializer<java.lang.Character>pSerializer - the universal serializer.pOut - output stream for the objectpObject - serializable objectpCache - the cache for BeanType definitions
java.lang.Exception - if serialization fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||