Package io.keikai.doc.collab.types
Class YXmlHook<T>
java.lang.Object
io.keikai.doc.collab.types.AbstractType<YMapEvent>
io.keikai.doc.collab.types.YMap<T>
io.keikai.doc.collab.types.YXmlHook<T>
-
Field Summary
Fields inherited from class io.keikai.doc.collab.types.AbstractType
_doc, _length, _map, _searchMarker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Makes a copy of this data type that can be included somewhere else.copy()Creates an Item with the same effect as this Item (without position effect)static YXmlHookreadYXmlHook(UpdateDecoder decoder) Static method to read a YXmlHook from a decoder.voidsetHookName(String hookName) voidwrite(UpdateEncoder encoder) Transform the properties of this type to binary and write it to a BinaryEncoder.Methods inherited from class io.keikai.doc.collab.types.YMap
callObserver, clear, delete, entries, forEach, get, has, integrate, iterator, keys, readYMap, set, size, toJSON, valuesMethods inherited from class io.keikai.doc.collab.types.AbstractType
callTypeObservers, createMapIterator, getDeepEventHandler, getDoc, getFirst, getItem, getMap, getParent, getSearchMarker, getStart, getTypeChildren, isParentOf, length, observe, observe, observeDeep, setLength, setMap, setStart, typeListCreateIterator, typeListDelete, typeListForEach, typeListForEachSnapshot, typeListGet, typeListInsertGenerics, typeListInsertGenericsAfter, typeListMap, typeListPushGenerics, typeListSlice, typeListToArray, typeListToArraySnapshot, typeMapDelete, typeMapGet, typeMapGetAll, typeMapGetAllSnapshot, typeMapGetSnapshot, typeMapHas, typeMapSet, unobserve, unobserveDeepMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
YXmlHook
- Parameters:
hookName- nodeName of the DOM Node.
-
-
Method Details
-
getHookName
-
setHookName
-
copy
Creates an Item with the same effect as this Item (without position effect) -
clone
Makes a copy of this data type that can be included somewhere else. Note that the content is only readable _after_ it has been included somewhere in the Ydoc. -
write
Transform the properties of this type to binary and write it to a BinaryEncoder. This is called when this Item is sent to a remote peer. -
readYXmlHook
Static method to read a YXmlHook from a decoder.- Parameters:
decoder- The decoder to read data from.- Returns:
- A new YXmlHook instance.
-