Package io.protostuff.runtime
Class ExplicitIdStrategy.RegisteredCollectionFactory
java.lang.Object
io.protostuff.runtime.ExplicitIdStrategy.RegisteredCollectionFactory
- All Implemented Interfaces:
CollectionSchema.MessageFactory
- Enclosing class:
ExplicitIdStrategy
static final class ExplicitIdStrategy.RegisteredCollectionFactory
extends Object
implements CollectionSchema.MessageFactory
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CollectionSchema.MessageFactory
(package private) final int
-
Constructor Summary
ConstructorsConstructorDescriptionRegisteredCollectionFactory
(int id, CollectionSchema.MessageFactory factory) -
Method Summary
Modifier and TypeMethodDescription<V> Collection
<V> Creates a newCollection
message.Class
<?> The type to instantiate.
-
Field Details
-
id
final int id -
factory
-
-
Constructor Details
-
RegisteredCollectionFactory
-
-
Method Details
-
newMessage
Description copied from interface:CollectionSchema.MessageFactory
Creates a newCollection
message.- Specified by:
newMessage
in interfaceCollectionSchema.MessageFactory
-
typeClass
Description copied from interface:CollectionSchema.MessageFactory
The type to instantiate.- Specified by:
typeClass
in interfaceCollectionSchema.MessageFactory
-