Interface ProtobufTagMarshaller<T>
- All Superinterfaces:
BaseMarshaller<T>
A marshaller for message types that has direct access to the low level Protobuf streams (TagReader/TagWriter) to
freely read and write tags. Cannot be used for enums because enums are not top level objects. The read/write access
to the tag stream is not verified against a Protobuf schema definition as it would normally happen in case of
MessageMarshaller so the implementer must take care to follow the schema. This can also be used to provide
more flexible or generic marshallers that are able to handle multiple types.- Since:
- 4.4
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBase interface for marshalling operation contexts.static interfaceOperation context of unmarshalling operations.static interfaceOperation context of marshalling operations. -
Field Summary
Fields inherited from interface BaseMarshaller
EMPTY -
Method Summary
Methods inherited from interface BaseMarshaller
getJavaClass, getSubClassNames, getTypeName
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-