Uses of Interface
io.keikai.doc.collab.utils.UpdateDecoder
Packages that use UpdateDecoder
Package
Description
-
Uses of UpdateDecoder in io.keikai.doc.collab.structs
Methods in io.keikai.doc.collab.structs with parameters of type UpdateDecoderModifier and TypeMethodDescriptionstatic 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 UpdateDecoderModifier and TypeMethodDescriptionstatic 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 UpdateDecoderMethods in io.keikai.doc.collab.utils with parameters of type UpdateDecoderModifier and TypeMethodDescriptionstatic Iterable<AbstractStruct>Updates.lazyStructReaderGenerator(UpdateDecoder decoder) LazyStructReaderGeneratorEncodings.readClientsStructRefs(UpdateDecoder decoder, Doc doc) Read client struct references.static voidEncodings.readUpdateV2(Decoder decoder, Doc ydoc, Object transactionOrigin, UpdateDecoder structDecoder) Read and apply a document update.Method parameters in io.keikai.doc.collab.utils with type arguments of type UpdateDecoderModifier and TypeMethodDescriptionstatic voidEncodings.applyUpdateV2(Doc ydoc, Uint8Array update, Object transactionOrigin, Class<? extends UpdateDecoder> yDecoder) Apply a document update.static Uint8ArrayUpdates.convertUpdateFormat(Uint8Array update, Function<AbstractStruct, AbstractStruct> blockTransformer, Class<? extends UpdateDecoder> clzYDecoder, Class<? extends UpdateEncoder> clzYEncoder) Convert the update format using a block transformer.Updates.decodeUpdateV2(Uint8Array update, Class<? extends UpdateDecoder> decoder) Decode update version 2.static Uint8ArrayUpdates.diffUpdateV2(Uint8Array update, Uint8Array sv, Class<? extends UpdateDecoder> clzYDecoder, Class<? extends UpdateEncoder> clzYEncoder) static voidUpdates.logUpdateV2(Uint8Array update, Class<? extends UpdateDecoder> decoder) Log update version 2.static Uint8ArrayUpdates.mergeUpdatesV2(List<Uint8Array> updates, Class<? extends UpdateDecoder> clzYDecoder, Class<? extends UpdateEncoder> clzYEncoder) This function works similarly to `readUpdateV2`.Updates.parseUpdateMetaV2(Uint8Array update, Class<? extends UpdateDecoder> clzYDecoder) static booleanSnapshot.snapshotContainsUpdateV2(Snapshot snapshot, Uint8Array update, 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