Package io.protostuff
Interface StatefulOutput
- All Superinterfaces:
Output
- All Known Implementing Classes:
JsonOutput
,JsonXOutput
,XmlOutput
,XmlXOutput
,YamlOutput
An output that keeps the state of the schema being used.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateLast
(Schema<?> schema, Schema<?> lastSchema) Updates the schema iflastSchema
was indeed the last schema used.Methods inherited from interface io.protostuff.Output
writeBool, writeByteArray, writeByteRange, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed32, writeFixed64, writeFloat, writeInt32, writeInt64, writeObject, writeSFixed32, writeSFixed64, writeSInt32, writeSInt64, writeString, writeUInt32, writeUInt64
-
Method Details
-
updateLast
Updates the schema iflastSchema
was indeed the last schema used.
-