Class ArraySchemas.ShortArray
java.lang.Object
io.protostuff.runtime.PolymorphicSchema
io.protostuff.runtime.ArraySchemas.Base
io.protostuff.runtime.ArraySchemas.ShortArray
- Enclosing class:
ArraySchemas
-
Nested Class Summary
Nested classes/interfaces inherited from class PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Pipe.Schema<Object> (package private) final booleanFields inherited from class ArraySchemas.Base
allowNullArrayElement, handlerFields inherited from class PolymorphicSchema
strategy -
Constructor Summary
ConstructorsConstructorDescriptionShortArray(IdStrategy strategy, PolymorphicSchema.Handler handler, boolean primitive) -
Method Summary
Modifier and TypeMethodDescriptionThe pipe schema associated with this schema.protected ObjectreadBoxedFrom(Input input, Object owner, int len) protected ObjectreadPrimitiveFrom(Input input, Object owner, int len) protected voidwriteLengthTo(Output output, int len, boolean primitive) voidSerializes a message/object to theoutput.protected voidMethods inherited from class ArraySchemas.Base
getFieldName, getFieldNumber, mergeFrom, messageFullName, messageName, setValueMethods inherited from class PolymorphicSchema
isInitialized, newMessage, typeClass
-
Field Details
-
pipeSchema
-
primitive
final boolean primitive
-
-
Constructor Details
-
ShortArray
ShortArray(IdStrategy strategy, PolymorphicSchema.Handler handler, boolean primitive)
-
-
Method Details
-
getPipeSchema
Description copied from class:PolymorphicSchemaThe pipe schema associated with this schema.- Specified by:
getPipeSchemain classPolymorphicSchema
-
readPrimitiveFrom
- Throws:
IOException
-
readBoxedFrom
- Throws:
IOException
-
readFrom
- Specified by:
readFromin classArraySchemas.Base- Throws:
IOException
-
writeLengthTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
writeTo
Description copied from interface:SchemaSerializes a message/object to theoutput.- Throws:
IOException
-