public class SimpleSerializableStateFactory extends java.lang.Object implements SerializableStateFactory
SerializableStateFactory
for SimpleSerializableState
instances.Constructor and Description |
---|
SimpleSerializableStateFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getGeneratedClass()
Returns the
SerializableState implementation that is generated by this factory. |
SerializableState |
serialize(State s)
Takes a
State and turns it into a SerializableState . |
public SerializableState serialize(State s)
SerializableStateFactory
State
and turns it into a SerializableState
.serialize
in interface SerializableStateFactory
s
- the input State
to convert.SerializableState
public java.lang.Class<?> getGeneratedClass()
SerializableStateFactory
SerializableState
implementation that is generated by this factory.getGeneratedClass
in interface SerializableStateFactory
Class
of the SerializableState
implementation that is generated by this factory.