public class EnumSerializer extends com.gemstone.gemfire.DataSerializer implements Serializable
addEnum(Class).| Constructor and Description |
|---|
EnumSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnum(Class enumClass) |
Object |
fromData(DataInput in) |
int |
getId() |
Class<?>[] |
getSupportedClasses() |
void |
setId(int id)
Sets the id for this serializer.
|
boolean |
toData(Object o,
DataOutput out) |
equals, getContext, getEventId, hashCode, readArrayList, readArrayOfByteArrays, readBoolean, readBooleanArray, readByte, readByteArray, readCharacter, readCharArray, readClass, readConcurrentHashMap, readDate, readDouble, readDoubleArray, readEnum, readFile, readFloat, readFloatArray, readHashMap, readHashSet, readHashtable, readIdentityHashMap, readInetAddress, readIntArray, readInteger, readLinkedHashSet, readLinkedList, readLong, readLongArray, readNonPrimitiveClassName, readObject, readObjectArray, readPrimitiveBoolean, readPrimitiveByte, readPrimitiveChar, readPrimitiveDouble, readPrimitiveFloat, readPrimitiveInt, readPrimitiveLong, readPrimitiveShort, readProperties, readRegion, readShort, readShortArray, readStack, readString, readStringArray, readTreeMap, readTreeSet, readUnsignedByte, readUnsignedShort, readVector, register, register, setContext, setEventId, writeArrayList, writeArrayOfByteArrays, writeBoolean, writeBooleanArray, writeByte, writeByteArray, writeByteArray, writeCharacter, writeCharArray, writeClass, writeConcurrentHashMap, writeDate, writeDouble, writeDoubleArray, writeEnum, writeFile, writeFloat, writeFloatArray, writeHashMap, writeHashSet, writeHashtable, writeIdentityHashMap, writeInetAddress, writeIntArray, writeInteger, writeLinkedHashSet, writeLinkedList, writeLong, writeLongArray, writeNonPrimitiveClassName, writeObject, writeObject, writeObjectArray, writeObjectAsByteArray, writePrimitiveBoolean, writePrimitiveByte, writePrimitiveChar, writePrimitiveDouble, writePrimitiveFloat, writePrimitiveInt, writePrimitiveLong, writePrimitiveShort, writeProperties, writeRegion, writeShort, writeShortArray, writeStack, writeString, writeStringArray, writeTreeMap, writeTreeSet, writeUnsignedByte, writeUnsignedShort, writeVectorpublic boolean toData(Object o, DataOutput out) throws IOException
toData in class com.gemstone.gemfire.DataSerializerIOExceptionpublic Object fromData(DataInput in) throws IOException, ClassNotFoundException
fromData in class com.gemstone.gemfire.DataSerializerIOExceptionClassNotFoundExceptionpublic void addEnum(Class enumClass)
public Class<?>[] getSupportedClasses()
getSupportedClasses in class com.gemstone.gemfire.DataSerializerpublic int getId()
getId in class com.gemstone.gemfire.DataSerializerpublic void setId(int id)
id - the id to set