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 Constructor Description YXmlHook(java.lang.String hookName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description YXmlHook<T>clone()Makes a copy of this data type that can be included somewhere else.YXmlHookcopy()Creates an Item with the same effect as this Item (without position effect)java.lang.StringgetHookName()static YXmlHookreadYXmlHook(UpdateDecoder decoder)Static method to read a YXmlHook from a decoder.voidsetHookName(java.lang.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, values
-
Methods 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, unobserveDeep
-
-
-
-
Method Detail
-
getHookName
public java.lang.String getHookName()
-
setHookName
public void setHookName(java.lang.String hookName)
-
copy
public YXmlHook copy()
Creates an Item with the same effect as this Item (without position effect)
-
clone
public YXmlHook<T> 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
public void write(UpdateEncoder encoder)
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
public static YXmlHook readYXmlHook(UpdateDecoder decoder)
Static method to read a YXmlHook from a decoder.- Parameters:
decoder- The decoder to read data from.- Returns:
- A new YXmlHook instance.
-
-