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 TypeClassDescriptionclassUsed when a field is an array (Object[] or any polymorphic component type).static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassUsed when a field is declared asClass<?>(with or with-out generics).classUsed when the type isNumber.classA schema for dynamic types (fields where the type isObject).classUsed when the type is an interface (Collection/List/Set/SortedSet).classUsed when a field is declared asEnum<?>(with or with-out generics).classUsed when the type is an interface (Map/SortedMap).classWill be used ifRuntimeEnv.POJO_SCHEMA_ON_COLLECTION_FIELDSis enabled and the field is assignable from Collection.classPlaceholder for annotated interface/object fields configured to use this.classWill be used if eitherRuntimeEnv.POJO_SCHEMA_ON_COLLECTION_FIELDSorRuntimeEnv.POJO_SCHEMA_ON_MAP_FIELDSis set.classUsed when the type is assignable fromThrowable.Fields in io.protostuff.runtime declared as PolymorphicSchemaModifier and TypeFieldDescriptionfinal PolymorphicSchemaRuntimeObjectField.schemaThe polymorphic schema.Methods in io.protostuff.runtime that return PolymorphicSchemaModifier and TypeMethodDescriptionstatic PolymorphicSchemaPolymorphicSchemaFactories.getSchemaFromCollectionOrMapGenericType(Class<?> clazz, IdStrategy strategy) EnumIO.newSchema(Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) final PolymorphicSchemaHasDelegate.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)