Package io.protostuff.runtime
Class ArraySchemas.PojoArray
- java.lang.Object
-
- io.protostuff.runtime.PolymorphicSchema
-
- io.protostuff.runtime.ArraySchemas.Base
-
- io.protostuff.runtime.ArraySchemas.PojoArray
-
- All Implemented Interfaces:
Schema<java.lang.Object>
- Enclosing class:
- ArraySchemas
public static class ArraySchemas.PojoArray extends ArraySchemas.Base
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.protostuff.runtime.PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler
-
-
Field Summary
Fields Modifier and Type Field Description (package private) HasSchema<java.lang.Object>
hs
protected Pipe.Schema<java.lang.Object>
pipeSchema
-
Fields inherited from class io.protostuff.runtime.ArraySchemas.Base
allowNullArrayElement, handler
-
Fields inherited from class io.protostuff.runtime.PolymorphicSchema
strategy
-
-
Constructor Summary
Constructors Constructor Description PojoArray(IdStrategy strategy, PolymorphicSchema.Handler handler, HasSchema<java.lang.Object> hs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipe.Schema<java.lang.Object>
getPipeSchema()
The pipe schema associated with this schema.java.lang.Object
readFrom(Input input, java.lang.Object owner)
void
writeTo(Output output, java.lang.Object message)
Serializes a message/object to theoutput
.-
Methods inherited from class io.protostuff.runtime.ArraySchemas.Base
getFieldName, getFieldNumber, mergeFrom, messageFullName, messageName, setValue
-
Methods inherited from class io.protostuff.runtime.PolymorphicSchema
isInitialized, newMessage, typeClass
-
-
-
-
Field Detail
-
pipeSchema
protected final Pipe.Schema<java.lang.Object> pipeSchema
-
hs
final HasSchema<java.lang.Object> hs
-
-
Constructor Detail
-
PojoArray
public PojoArray(IdStrategy strategy, PolymorphicSchema.Handler handler, HasSchema<java.lang.Object> hs)
-
-
Method Detail
-
getPipeSchema
public Pipe.Schema<java.lang.Object> getPipeSchema()
Description copied from class:PolymorphicSchema
The pipe schema associated with this schema.- Specified by:
getPipeSchema
in classPolymorphicSchema
-
readFrom
public java.lang.Object readFrom(Input input, java.lang.Object owner) throws java.io.IOException
- Specified by:
readFrom
in classArraySchemas.Base
- Throws:
java.io.IOException
-
-