Package com.dyuproject.protostuff.runtime

Interface Summary
Delegate<V> Controls how certain types are serialized and can even override the existing serializers because this has higher priority when the fields are being built.
IdStrategy.Factory Responsible for instantiating custom IdStrategy impls.
PolymorphicSchema.Factory A factory which creates a schema with the handler connected to it.
PolymorphicSchema.Handler The handler who's job is to set the value to the owner.
 

Class Summary
ArraySchema Used when a field is an array (Object[] or any polymorphic component type).
ClassSchema Used when a field is declared as "Class" (with or with-out generics).
DefaultIdStrategy The FQCN(fully qualified class name) will serve as the id (string).
DerivativeSchema This schema delegates to another schema derived from the input.
EnumIO<E extends Enum<E>> Determines how enums are serialized/deserialized.
EnumIO.ByName<E extends Enum<E>> Reads the enum by its name.
EnumIO.ByNumber<E extends Enum<E>> Reads the enum by its number.
HasSchema<T> Wraps a schema.
IdStrategy This base class handles all the IO for reading and writing polymorphic fields.
MappedSchema<T> Base class for schemas that maps fields by number and name.
MappedSchema.Field<T> Represents a field of a message/pojo.
NumberSchema Used when the type is Number.
ObjectSchema A schema for dynamic types (fields where the type is Object).
PolymorphicCollectionSchema Used when the type is an interface (Collection/List/Set/SortedSet).
PolymorphicEnumSchema Used when a field is declared as "Enum" (with or with-out generics).
PolymorphicMapSchema Used when the type is an interface (Map/SortedMap).
PolymorphicSchema Used when the type is either polymorphic or too complex.
PolymorphicThrowableSchema Used when the type is assignable from Throwable.
RuntimeEnv The runtime environment.
RuntimeEnv.Instantiator<T>  
RuntimeFieldFactory<V> A factory to create runtime fields based on reflection.
RuntimePipeSchema<T> Runtime pipe schema.
RuntimeReflectionFieldFactory Field factory via plain old reflection api.
RuntimeSchema<T> A schema that can be generated and cached at runtime for objects that have no schema.
RuntimeUnsafeFieldFactory Field factory via sun.misc.Unsafe.
 

Enum Summary
PolymorphicSchemaFactories Polymorphic types.
 

Exception Summary
IdStrategy.UnknownTypeException Thrown when a type is not known by the IdStrategy.
 



Copyright © 2009-2014. All Rights Reserved.