Package io.protostuff.runtime
Class RuntimeRepeatedFieldFactory
java.lang.Object
io.protostuff.runtime.RuntimeRepeatedFieldFactory
Static utility for creating runtime repeated (list/collection) fields.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Accessor.Factory
private static final RuntimeFieldFactory
<Collection<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> Field
<T> createCollectionEnumV
(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, IdStrategy strategy) private static <T> Field
<T> createCollectionInlineV
(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Delegate<Object> inline) private static <T> Field
<T> createCollectionObjectV
(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, PolymorphicSchema.Factory factory, IdStrategy strategy) private static <T> Field
<T> createCollectionPojoV
(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, IdStrategy strategy) private static <T> Field
<T> createCollectionPolymorphicV
(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, IdStrategy strategy) (package private) static RuntimeFieldFactory
<Collection<?>> For lazy initialization called byRuntimeFieldFactory
.
-
Field Details
-
AF
-
REPEATED
-
-
Constructor Details
-
RuntimeRepeatedFieldFactory
private RuntimeRepeatedFieldFactory()
-
-
Method Details
-
getFactory
For lazy initialization called byRuntimeFieldFactory
. -
createCollectionInlineV
-
createCollectionEnumV
private static <T> Field<T> createCollectionEnumV(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, IdStrategy strategy) -
createCollectionPojoV
private static <T> Field<T> createCollectionPojoV(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, IdStrategy strategy) -
createCollectionPolymorphicV
private static <T> Field<T> createCollectionPolymorphicV(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, IdStrategy strategy) -
createCollectionObjectV
private static <T> Field<T> createCollectionObjectV(int number, String name, Field f, CollectionSchema.MessageFactory messageFactory, Class<Object> genericType, PolymorphicSchema.Factory factory, IdStrategy strategy)
-