Package ch.njol.yggdrasil
package ch.njol.yggdrasil
-
ClassDescriptionHolds a field's name and value, and throws
StreamCorruptedException
s if primitives or objects are used incorrectly.PseudoEnum<T extends PseudoEnum<T>>A class that acts as a "pseudo-enum", i.e.Yggdrasil is a simple data format to store object graphs.Thrown if the object(s) that should be saved/loaded with Yggdrasil do not comply with its requirements, or if Yggdrasil is used incorrectly.Can be used to set a class's or field's id used by Yggdrasil.Marks a class as serializable by Yggdrasil.A class that has transient fields or more generally wants to exactly define which fields to write to/read from stream should implement this interface.Provides a method to resolve missing enum constants.A class that has had fields added, changed, or removed from it should implement this interface to handle the now invalid/missing fields that may still be read from stream.Utility to be able to save and load classes with Yggdrasil that the user has no control of, e.g.