Uses of Class
io.protostuff.runtime.PolymorphicSchema
Packages that use PolymorphicSchema
-
Uses of PolymorphicSchema in io.protostuff.runtime
Subclasses of PolymorphicSchema in io.protostuff.runtimeModifier and TypeClassDescriptionclass
Used when a field is an array (Object[] or any polymorphic component type).static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
class
Used when a field is declared asClass<?>
(with or with-out generics).class
Used when the type isNumber
.class
A schema for dynamic types (fields where the type isObject
).class
Used when the type is an interface (Collection/List/Set/SortedSet).class
Used when a field is declared asEnum<?>
(with or with-out generics).class
Used when the type is an interface (Map/SortedMap).class
Will be used ifRuntimeEnv.POJO_SCHEMA_ON_COLLECTION_FIELDS
is enabled and the field is assignable from Collection.class
Placeholder for annotated interface/object fields configured to use this.class
Will be used if eitherRuntimeEnv.POJO_SCHEMA_ON_COLLECTION_FIELDS
orRuntimeEnv.POJO_SCHEMA_ON_MAP_FIELDS
is set.class
Used when the type is assignable fromThrowable
.Fields in io.protostuff.runtime declared as PolymorphicSchemaModifier and TypeFieldDescriptionfinal PolymorphicSchema
RuntimeObjectField.schema
The polymorphic schema.Methods in io.protostuff.runtime that return PolymorphicSchemaModifier and TypeMethodDescriptionstatic PolymorphicSchema
PolymorphicSchemaFactories.getSchemaFromCollectionOrMapGenericType
(Class<?> clazz, IdStrategy strategy) EnumIO.newSchema
(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) final PolymorphicSchema
HasDelegate.newSchema
(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) HasSchema.newSchema
(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) PolymorphicSchema.Factory.newSchema
(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler)