Class YAPIONPacketSerializer
- java.lang.Object
-
- yapion.serializing.serializer.object.other.YAPIONPacketSerializer
-
- All Implemented Interfaces:
InternalSerializer<YAPIONPacket>
public class YAPIONPacketSerializer extends java.lang.Object implements InternalSerializer<YAPIONPacket>
-
-
Constructor Summary
Constructors Constructor Description YAPIONPacketSerializer()
-
Method Summary
Modifier and Type Method Description java.lang.Class<?>
classType()
boolean
createWithObjenesis()
YAPIONPacket
deserialize(DeserializeData<? extends YAPIONAnyType> deserializeData)
boolean
empty()
boolean
loadWithoutAnnotation()
boolean
saveWithoutAnnotation()
YAPIONAnyType
serialize(SerializeData<YAPIONPacket> serializeData)
java.lang.String
type()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface yapion.serializing.InternalSerializer
defaultImplementation, init, interfaceType, primitiveType
-
-
-
-
Method Detail
-
type
public java.lang.String type()
- Specified by:
type
in interfaceInternalSerializer<YAPIONPacket>
-
empty
public boolean empty()
- Specified by:
empty
in interfaceInternalSerializer<YAPIONPacket>
-
classType
public java.lang.Class<?> classType()
- Specified by:
classType
in interfaceInternalSerializer<YAPIONPacket>
-
saveWithoutAnnotation
public boolean saveWithoutAnnotation()
- Specified by:
saveWithoutAnnotation
in interfaceInternalSerializer<YAPIONPacket>
-
loadWithoutAnnotation
public boolean loadWithoutAnnotation()
- Specified by:
loadWithoutAnnotation
in interfaceInternalSerializer<YAPIONPacket>
-
createWithObjenesis
public boolean createWithObjenesis()
- Specified by:
createWithObjenesis
in interfaceInternalSerializer<YAPIONPacket>
-
serialize
public YAPIONAnyType serialize(SerializeData<YAPIONPacket> serializeData)
- Specified by:
serialize
in interfaceInternalSerializer<YAPIONPacket>
-
deserialize
public YAPIONPacket deserialize(DeserializeData<? extends YAPIONAnyType> deserializeData)
- Specified by:
deserialize
in interfaceInternalSerializer<YAPIONPacket>
-
-