Uses of Interface
io.keikai.doc.collab.utils.UpdateDecoder
-
Packages that use UpdateDecoder Package Description io.keikai.doc.collab.structs io.keikai.doc.collab.types io.keikai.doc.collab.utils -
-
Uses of UpdateDecoder in io.keikai.doc.collab.structs
Methods in io.keikai.doc.collab.structs with parameters of type UpdateDecoder Modifier and Type Method Description static ContentAnyContentAny. readContentAny(UpdateDecoder decoder)Reads the content from the decoder.static ContentBinaryContentBinary. readContentBinary(UpdateDecoder decoder)Reads the content from the decoder.static ContentDeletedContentDeleted. readContentDeleted(UpdateDecoder decoder)Static method to read ContentDeleted from a decoderstatic ContentDocContentDoc. readContentDoc(UpdateDecoder decoder)Static method to read ContentDoc from a decoderstatic ContentEmbedContentEmbed. readContentEmbed(UpdateDecoder decoder)static ContentFormatContentFormat. readContentFormat(UpdateDecoder decoder)static ContentJSONContentJSON. readContentJSON(UpdateDecoder decoder)static ContentStringContentString. readContentString(UpdateDecoder decoder)static ContentTypeContentType. readContentType(UpdateDecoder decoder)static AbstractContentItem. readItemContent(UpdateDecoder decoder, int info)Reads the content of an item from the decoder. -
Uses of UpdateDecoder in io.keikai.doc.collab.types
Methods in io.keikai.doc.collab.types with parameters of type UpdateDecoder Modifier and Type Method Description static YArray<?>YArray. readYArray(UpdateDecoder decoder)Reads a YArray from the decoder.static YMap<?>YMap. readYMap(UpdateDecoder decoder)Creates a YMap from the given decoder.static YTextYText. readYText(UpdateDecoder decoder)Reads and returns a new YText instance from the decoder.static YXmlElementYXmlElement. readYXmlElement(UpdateDecoder decoder)Static method to read a YXmlElement from a decoder.static YXmlFragmentYXmlFragment. readYXmlFragment(UpdateDecoder decoder)static YXmlHookYXmlHook. readYXmlHook(UpdateDecoder decoder)Static method to read a YXmlHook from a decoder.static YXmlTextYXmlText. readYXmlText(UpdateDecoder decoder)Overloaded method for reading with UpdateDecoderV1 -
Uses of UpdateDecoder in io.keikai.doc.collab.utils
Classes in io.keikai.doc.collab.utils that implement UpdateDecoder Modifier and Type Class Description classUpdateDecoderV1classUpdateDecoderV2Methods in io.keikai.doc.collab.utils with parameters of type UpdateDecoder Modifier and Type Method Description static java.lang.Iterable<AbstractStruct>Updates. lazyStructReaderGenerator(UpdateDecoder decoder)LazyStructReaderGeneratorstatic java.util.Map<java.lang.Integer,StructRef>Encodings. readClientsStructRefs(UpdateDecoder decoder, Doc doc)Read client struct references.static voidEncodings. readUpdateV2(Decoder decoder, Doc ydoc, java.lang.Object transactionOrigin, UpdateDecoder structDecoder)Read and apply a document update.Method parameters in io.keikai.doc.collab.utils with type arguments of type UpdateDecoder Modifier and Type Method Description static voidEncodings. applyUpdateV2(Doc ydoc, Uint8Array update, java.lang.Object transactionOrigin, java.lang.Class<? extends UpdateDecoder> yDecoder)Apply a document update.static Uint8ArrayUpdates. convertUpdateFormat(Uint8Array update, java.util.function.Function<AbstractStruct,AbstractStruct> blockTransformer, java.lang.Class<? extends UpdateDecoder> clzYDecoder, java.lang.Class<? extends UpdateEncoder> clzYEncoder)Convert the update format using a block transformer.static java.util.Map<java.lang.String,java.lang.Object>Updates. decodeUpdateV2(Uint8Array update, java.lang.Class<? extends UpdateDecoder> decoder)Decode update version 2.static Uint8ArrayUpdates. diffUpdateV2(Uint8Array update, Uint8Array sv, java.lang.Class<? extends UpdateDecoder> clzYDecoder, java.lang.Class<? extends UpdateEncoder> clzYEncoder)static voidUpdates. logUpdateV2(Uint8Array update, java.lang.Class<? extends UpdateDecoder> decoder)Log update version 2.static Uint8ArrayUpdates. mergeUpdatesV2(java.util.List<Uint8Array> updates, java.lang.Class<? extends UpdateDecoder> clzYDecoder, java.lang.Class<? extends UpdateEncoder> clzYEncoder)This function works similarly to `readUpdateV2`.static java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,java.lang.Integer>>Updates. parseUpdateMetaV2(Uint8Array update, java.lang.Class<? extends UpdateDecoder> clzYDecoder)static booleanSnapshot. snapshotContainsUpdateV2(Snapshot snapshot, Uint8Array update, java.lang.Class<? extends UpdateDecoder> yDecoder)Check if a snapshot contains a given update using a specific decoder.Constructors in io.keikai.doc.collab.utils with parameters of type UpdateDecoder Constructor Description LazyStructReader(UpdateDecoder decoder, boolean filterSkips)
-