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)
SerializableStateFactoryState and turns it into a SerializableState.serialize in interface SerializableStateFactorys - the input State to convert.SerializableStatepublic java.lang.Class<?> getGeneratedClass()
SerializableStateFactorySerializableState implementation that is generated by this factory.getGeneratedClass in interface SerializableStateFactoryClass of the SerializableState implementation that is generated by this factory.