Index

A B C D E F G H I K L M N O P R S T U V Y 
All Classes and Interfaces|All Packages

A

applyUpdate(byte[]) - Method in class net.carcdr.ycrdt.YDoc
Applies a binary update to this document (creates implicit transaction).
applyUpdate(YTransaction, byte[]) - Method in class net.carcdr.ycrdt.YDoc
Applies a binary update to this document within an existing transaction.
asElement() - Method in interface net.carcdr.ycrdt.YXmlNode
Casts this node to an element if it is an element type.
asText() - Method in interface net.carcdr.ycrdt.YXmlNode
Casts this node to text if it is a text type.
ATTRIBUTE - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
Attribute/property was modified

B

beginTransaction() - Method in class net.carcdr.ycrdt.YDoc
Begin a new transaction for batching operations.

C

childCount() - Method in class net.carcdr.ycrdt.YXmlElement
Gets the number of child nodes in this element.
childCount(YTransaction) - Method in class net.carcdr.ycrdt.YXmlElement
Gets the number of child nodes in this element using an existing transaction.
clear() - Method in class net.carcdr.ycrdt.YMap
Removes all entries from the map.
clear(YTransaction) - Method in class net.carcdr.ycrdt.YMap
Removes all entries from the map within an existing transaction.
close() - Method in class net.carcdr.ycrdt.YArray
Closes this YArray and releases native resources.
close() - Method in class net.carcdr.ycrdt.YDoc
Closes this document and frees its native resources.
close() - Method in class net.carcdr.ycrdt.YMap
Closes this YMap and releases native resources.
close() - Method in class net.carcdr.ycrdt.YSubscription
Unregisters the observer and closes this subscription.
close() - Method in class net.carcdr.ycrdt.YText
Closes this YText and releases native resources.
close() - Method in class net.carcdr.ycrdt.YTransaction
Closes the transaction, committing all batched operations.
close() - Method in class net.carcdr.ycrdt.YXmlElement
Closes this YXmlElement and releases native resources.
close() - Method in class net.carcdr.ycrdt.YXmlFragment
Closes this fragment and releases native resources.
close() - Method in class net.carcdr.ycrdt.YXmlText
Closes this YXmlText and releases native resources.
commit() - Method in class net.carcdr.ycrdt.YTransaction
Commits the transaction explicitly.
containsKey(String) - Method in class net.carcdr.ycrdt.YMap
Checks if a key exists in the map.
containsKey(YTransaction, String) - Method in class net.carcdr.ycrdt.YMap
Checks if a key exists in the map using an existing transaction.

D

delete(int, int) - Method in class net.carcdr.ycrdt.YText
Deletes a range of text (creates implicit transaction).
delete(int, int) - Method in class net.carcdr.ycrdt.YXmlText
Deletes a range of text.
delete(YTransaction, int, int) - Method in class net.carcdr.ycrdt.YText
Deletes a range of text within an existing transaction.
delete(YTransaction, int, int) - Method in class net.carcdr.ycrdt.YXmlText
Deletes a range of text within an existing transaction.
DELETE - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
Content was deleted

E

ELEMENT - Enum constant in enum class net.carcdr.ycrdt.YXmlNode.NodeType
XML element node (e.g., <div>)
encodeDiff(byte[]) - Method in class net.carcdr.ycrdt.YDoc
Encodes a differential update containing only changes not yet observed by the remote peer (creates implicit transaction).
encodeDiff(YTransaction, byte[]) - Method in class net.carcdr.ycrdt.YDoc
Encodes a differential update containing only changes not yet observed by the remote peer within an existing transaction.
encodeStateAsUpdate() - Method in class net.carcdr.ycrdt.YDoc
Encodes the current state of the document as a binary update (creates implicit transaction).
encodeStateAsUpdate(YTransaction) - Method in class net.carcdr.ycrdt.YDoc
Encodes the current state of the document as a binary update within an existing transaction.
encodeStateVector() - Method in class net.carcdr.ycrdt.YDoc
Encodes the current state vector of this document (creates implicit transaction).
encodeStateVector(YTransaction) - Method in class net.carcdr.ycrdt.YDoc
Encodes the current state vector of this document within an existing transaction.
encodeStateVectorFromUpdate(byte[]) - Static method in class net.carcdr.ycrdt.YDoc
Extracts the state vector from an encoded update without applying it.
equals(Object) - Method in class net.carcdr.ycrdt.FormattingChunk
 
Example - Class in net.carcdr.ycrdt
Simple example demonstrating the usage of Y-CRDT JNI bindings.

F

finalize() - Method in class net.carcdr.ycrdt.YDoc
Ensures proper cleanup of native resources if close() was not called.
finalize() - Method in class net.carcdr.ycrdt.YTransaction
Ensures proper cleanup of native resources if close() was not called.
format(int, int, Map<String, Object>) - Method in class net.carcdr.ycrdt.YXmlText
Formats a range of text with the specified attributes.
format(YTransaction, int, int, Map<String, Object>) - Method in class net.carcdr.ycrdt.YXmlText
Formats a range of text with the specified attributes within an existing transaction.
FormattingChunk - Class in net.carcdr.ycrdt
Represents a chunk of text with associated formatting attributes.
FormattingChunk(String, Map<String, Object>) - Constructor for class net.carcdr.ycrdt.FormattingChunk
Creates a new FormattingChunk with the specified text and attributes.

G

getArray(String) - Method in class net.carcdr.ycrdt.YDoc
Gets or creates a YArray instance with the specified name.
getAttribute(String) - Method in class net.carcdr.ycrdt.YXmlElement
Gets an attribute value by name.
getAttribute(YTransaction, String) - Method in class net.carcdr.ycrdt.YXmlElement
Gets an attribute value by name using an existing transaction.
getAttributeName() - Method in class net.carcdr.ycrdt.YXmlElementChange
Gets the attribute name that changed.
getAttributeNames() - Method in class net.carcdr.ycrdt.YXmlElement
Gets all attribute names.
getAttributeNames(YTransaction) - Method in class net.carcdr.ycrdt.YXmlElement
Gets all attribute names using an existing transaction.
getAttributes() - Method in class net.carcdr.ycrdt.FormattingChunk
Returns the formatting attributes for this chunk.
getAttributes() - Method in class net.carcdr.ycrdt.YTextChange
Gets the formatting attributes associated with this change.
getChanges() - Method in class net.carcdr.ycrdt.YEvent
Gets the list of changes that occurred.
getChild(int) - Method in class net.carcdr.ycrdt.YXmlElement
Gets the child node at the specified index.
getChild(int) - Method in class net.carcdr.ycrdt.YXmlFragment
Retrieves a child node at the specified index.
getChild(YTransaction, int) - Method in class net.carcdr.ycrdt.YXmlElement
Gets the child node at the specified index using an existing transaction.
getClientId() - Method in class net.carcdr.ycrdt.YDoc
Gets the client ID of this document.
getContent() - Method in class net.carcdr.ycrdt.YTextChange
Gets the inserted text content.
getDoc(int) - Method in class net.carcdr.ycrdt.YArray
Gets a YDoc subdocument at the specified index.
getDoc(String) - Method in class net.carcdr.ycrdt.YMap
Gets a YDoc subdocument from the map by key.
getDoc(YTransaction, int) - Method in class net.carcdr.ycrdt.YArray
Gets a YDoc subdocument at the specified index using an existing transaction.
getDoc(YTransaction, String) - Method in class net.carcdr.ycrdt.YMap
Gets a YDoc subdocument from the map by key using an existing transaction.
getDouble(int) - Method in class net.carcdr.ycrdt.YArray
Gets a double value at the specified index.
getDouble(String) - Method in class net.carcdr.ycrdt.YMap
Gets a double value by key.
getDouble(YTransaction, int) - Method in class net.carcdr.ycrdt.YArray
Gets a double value at the specified index using an existing transaction.
getDouble(YTransaction, String) - Method in class net.carcdr.ycrdt.YMap
Gets a double value by key using an existing transaction.
getElement(int) - Method in class net.carcdr.ycrdt.YXmlFragment
Retrieves a child element at the specified index.
getElement(YTransaction, int) - Method in class net.carcdr.ycrdt.YXmlFragment
Retrieves a child element at the specified index using an existing transaction.
getFormattingChunks() - Method in class net.carcdr.ycrdt.YXmlText
Returns the formatted text as a list of chunks with their formatting attributes.
getFormattingChunks(YTransaction) - Method in class net.carcdr.ycrdt.YXmlText
Returns the formatted text as a list of chunks with their formatting attributes using an existing transaction.
getGuid() - Method in class net.carcdr.ycrdt.YDoc
Gets the globally unique identifier (GUID) of this document.
getIndexInParent() - Method in class net.carcdr.ycrdt.YXmlElement
Gets the index of this element within its parent's children.
getIndexInParent() - Method in class net.carcdr.ycrdt.YXmlText
Gets the index of this text node within its parent's children.
getIndexInParent(YTransaction) - Method in class net.carcdr.ycrdt.YXmlElement
Gets the index of this element within its parent's children using an existing transaction.
getIndexInParent(YTransaction) - Method in class net.carcdr.ycrdt.YXmlText
Gets the index of this text node within its parent's children using an existing transaction.
getItems() - Method in class net.carcdr.ycrdt.YArrayChange
Gets the inserted items.
getKey() - Method in class net.carcdr.ycrdt.YMapChange
Gets the key that changed.
getLength() - Method in class net.carcdr.ycrdt.YArrayChange
Gets the length of the change.
getLength() - Method in class net.carcdr.ycrdt.YTextChange
Gets the length of the change.
getMap(String) - Method in class net.carcdr.ycrdt.YDoc
Gets or creates a YMap instance with the specified name.
getNewValue() - Method in class net.carcdr.ycrdt.YMapChange
Gets the new value.
getNewValue() - Method in class net.carcdr.ycrdt.YXmlElementChange
Gets the new attribute value.
getNodeType() - Method in interface net.carcdr.ycrdt.YXmlNode
Returns the type of this XML node.
getNodeType(int) - Method in class net.carcdr.ycrdt.YXmlFragment
Gets the type of the child node at the specified index.
getNodeType(YTransaction, int) - Method in class net.carcdr.ycrdt.YXmlFragment
Gets the type of the child node at the specified index using an existing transaction.
getObserver() - Method in class net.carcdr.ycrdt.YSubscription
Gets the observer associated with this subscription.
getOldValue() - Method in class net.carcdr.ycrdt.YMapChange
Gets the old value.
getOldValue() - Method in class net.carcdr.ycrdt.YXmlElementChange
Gets the old attribute value.
getOrigin() - Method in class net.carcdr.ycrdt.YEvent
Gets the origin identifier for this change.
getParent() - Method in class net.carcdr.ycrdt.YXmlElement
Gets the parent of this XML element.
getParent() - Method in class net.carcdr.ycrdt.YXmlText
Gets the parent of this XML text node.
getParent(YTransaction) - Method in class net.carcdr.ycrdt.YXmlElement
Gets the parent of this XML element using an existing transaction.
getParent(YTransaction) - Method in class net.carcdr.ycrdt.YXmlText
Gets the parent of this XML text node using an existing transaction.
getString(int) - Method in class net.carcdr.ycrdt.YArray
Gets a string value at the specified index.
getString(String) - Method in class net.carcdr.ycrdt.YMap
Gets a string value by key.
getString(YTransaction, int) - Method in class net.carcdr.ycrdt.YArray
Gets a string value at the specified index using an existing transaction.
getString(YTransaction, String) - Method in class net.carcdr.ycrdt.YMap
Gets a string value by key using an existing transaction.
getSubscriptionId() - Method in class net.carcdr.ycrdt.YSubscription
Gets the subscription ID.
getTag() - Method in class net.carcdr.ycrdt.YXmlElement
Returns the tag name of this XML element.
getTag(YTransaction) - Method in class net.carcdr.ycrdt.YXmlElement
Returns the tag name of this XML element using an existing transaction.
getTarget() - Method in class net.carcdr.ycrdt.YEvent
Gets the Y-CRDT object that changed.
getTarget() - Method in class net.carcdr.ycrdt.YSubscription
Gets the target object being observed.
getText() - Method in class net.carcdr.ycrdt.FormattingChunk
Returns the text content of this chunk.
getText(int) - Method in class net.carcdr.ycrdt.YXmlFragment
Retrieves a child text node at the specified index.
getText(String) - Method in class net.carcdr.ycrdt.YDoc
Gets or creates a YText instance with the specified name.
getText(YTransaction, int) - Method in class net.carcdr.ycrdt.YXmlFragment
Retrieves a child text node at the specified index using an existing transaction.
getType() - Method in class net.carcdr.ycrdt.YArrayChange
 
getType() - Method in class net.carcdr.ycrdt.YChange
Gets the type of this change.
getType() - Method in class net.carcdr.ycrdt.YMapChange
 
getType() - Method in class net.carcdr.ycrdt.YTextChange
 
getType() - Method in class net.carcdr.ycrdt.YXmlElementChange
 
getXmlElement(String) - Method in class net.carcdr.ycrdt.YDoc
Gets or creates a YXmlElement instance with the specified name.
getXmlFragment(String) - Method in class net.carcdr.ycrdt.YDoc
Gets or creates a YXmlFragment instance with the specified name.
getXmlText(String) - Method in class net.carcdr.ycrdt.YDoc
Gets or creates a YXmlText instance with the specified name.

H

hasAttributes() - Method in class net.carcdr.ycrdt.FormattingChunk
Returns whether this chunk has any formatting attributes.
hashCode() - Method in class net.carcdr.ycrdt.FormattingChunk
 

I

insert(int, String) - Method in class net.carcdr.ycrdt.YText
Inserts text at the specified index (creates implicit transaction).
insert(int, String) - Method in class net.carcdr.ycrdt.YXmlText
Inserts text at the specified index.
insert(YTransaction, int, String) - Method in class net.carcdr.ycrdt.YText
Inserts text at the specified index within an existing transaction.
insert(YTransaction, int, String) - Method in class net.carcdr.ycrdt.YXmlText
Inserts text at the specified index within an existing transaction.
INSERT - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
Content was inserted
insertDoc(int, YDoc) - Method in class net.carcdr.ycrdt.YArray
Inserts a YDoc subdocument at the specified index (creates implicit transaction).
insertDoc(YTransaction, int, YDoc) - Method in class net.carcdr.ycrdt.YArray
Inserts a YDoc subdocument at the specified index within an existing transaction.
insertDouble(int, double) - Method in class net.carcdr.ycrdt.YArray
Inserts a double value at the specified index (creates implicit transaction).
insertDouble(YTransaction, int, double) - Method in class net.carcdr.ycrdt.YArray
Inserts a double value at the specified index within an existing transaction.
insertElement(int, String) - Method in class net.carcdr.ycrdt.YXmlElement
Inserts an XML element child at the specified index.
insertElement(int, String) - Method in class net.carcdr.ycrdt.YXmlFragment
Inserts an XML element as a child at the specified index.
insertElement(YTransaction, int, String) - Method in class net.carcdr.ycrdt.YXmlElement
Inserts an XML element child at the specified index within an existing transaction.
insertElement(YTransaction, int, String) - Method in class net.carcdr.ycrdt.YXmlFragment
Inserts an XML element as a child at the specified index within an existing transaction.
insertString(int, String) - Method in class net.carcdr.ycrdt.YArray
Inserts a string value at the specified index (creates implicit transaction).
insertString(YTransaction, int, String) - Method in class net.carcdr.ycrdt.YArray
Inserts a string value at the specified index within an existing transaction.
insertText(int) - Method in class net.carcdr.ycrdt.YXmlElement
Inserts an XML text child at the specified index.
insertText(int, String) - Method in class net.carcdr.ycrdt.YXmlFragment
Inserts an XML text node as a child at the specified index.
insertText(YTransaction, int) - Method in class net.carcdr.ycrdt.YXmlElement
Inserts an XML text child at the specified index within an existing transaction.
insertText(YTransaction, int, String) - Method in class net.carcdr.ycrdt.YXmlFragment
Inserts an XML text node as a child at the specified index within an existing transaction.
insertWithAttributes(int, String, Map<String, Object>) - Method in class net.carcdr.ycrdt.YXmlText
Inserts text with formatting attributes at the specified index.
insertWithAttributes(YTransaction, int, String, Map<String, Object>) - Method in class net.carcdr.ycrdt.YXmlText
Inserts text with formatting attributes at the specified index within an existing transaction.
isClosed() - Method in class net.carcdr.ycrdt.YArray
Checks if this YArray has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YDoc
Checks if this document has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YMap
Checks if this YMap has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YSubscription
Checks if this subscription is closed.
isClosed() - Method in class net.carcdr.ycrdt.YText
Checks if this YText has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YTransaction
Checks if this transaction has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YXmlElement
Checks if this YXmlElement has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YXmlFragment
Checks if this fragment has been closed.
isClosed() - Method in class net.carcdr.ycrdt.YXmlText
Checks if this YXmlText has been closed.
isEmpty() - Method in class net.carcdr.ycrdt.YMap
Checks if the map is empty.

K

keys() - Method in class net.carcdr.ycrdt.YMap
Gets all keys from the map.
keys(YTransaction) - Method in class net.carcdr.ycrdt.YMap
Gets all keys from the map using an existing transaction.

L

length() - Method in class net.carcdr.ycrdt.YArray
Returns the length of the array.
length() - Method in class net.carcdr.ycrdt.YText
Returns the length of the text.
length() - Method in class net.carcdr.ycrdt.YXmlFragment
Returns the number of children in this fragment.
length() - Method in class net.carcdr.ycrdt.YXmlText
Returns the length of the text in characters.
length(YTransaction) - Method in class net.carcdr.ycrdt.YArray
Returns the length of the array using an existing transaction.
length(YTransaction) - Method in class net.carcdr.ycrdt.YText
Returns the length of the text.
length(YTransaction) - Method in class net.carcdr.ycrdt.YXmlFragment
Returns the number of children in this fragment using an existing transaction.
length(YTransaction) - Method in class net.carcdr.ycrdt.YXmlText
Returns the length of the text in characters using an existing transaction.

M

main(String[]) - Static method in class net.carcdr.ycrdt.Example
 
mergeUpdates(byte[][]) - Static method in class net.carcdr.ycrdt.YDoc
Merges multiple updates into a single compact update.

N

net.carcdr.ycrdt - package net.carcdr.ycrdt
 

O

observe(YObserver) - Method in class net.carcdr.ycrdt.YArray
Registers an observer to be notified when this array changes.
observe(YObserver) - Method in class net.carcdr.ycrdt.YMap
Registers an observer to be notified when this map changes.
observe(YObserver) - Method in class net.carcdr.ycrdt.YText
Registers an observer to be notified of changes to this text.
observe(YObserver) - Method in class net.carcdr.ycrdt.YXmlElement
Registers an observer to be notified when this XML element changes.
observe(YObserver) - Method in class net.carcdr.ycrdt.YXmlFragment
Registers an observer to be notified when this XML fragment changes.
observe(YObserver) - Method in class net.carcdr.ycrdt.YXmlText
Registers an observer to be notified of changes to this XML text.
observeUpdateV1(UpdateObserver) - Method in class net.carcdr.ycrdt.YDoc
Observes all updates to this document.
onChange(YEvent) - Method in interface net.carcdr.ycrdt.YObserver
Called when the observed Y type is modified.
onUpdate(byte[], String) - Method in interface net.carcdr.ycrdt.UpdateObserver
Called when the document receives an update.

P

push(String) - Method in class net.carcdr.ycrdt.YText
Appends text to the end (creates implicit transaction).
push(String) - Method in class net.carcdr.ycrdt.YXmlText
Appends text to the end of the XML text.
push(YTransaction, String) - Method in class net.carcdr.ycrdt.YText
Appends text to the end within an existing transaction.
push(YTransaction, String) - Method in class net.carcdr.ycrdt.YXmlText
Appends text to the end of the XML text within an existing transaction.
pushDoc(YDoc) - Method in class net.carcdr.ycrdt.YArray
Appends a YDoc subdocument to the end of the array (creates implicit transaction).
pushDoc(YTransaction, YDoc) - Method in class net.carcdr.ycrdt.YArray
Appends a YDoc subdocument to the end of the array within an existing transaction.
pushDouble(double) - Method in class net.carcdr.ycrdt.YArray
Appends a double value to the end of the array (creates implicit transaction).
pushDouble(YTransaction, double) - Method in class net.carcdr.ycrdt.YArray
Appends a double value to the end of the array within an existing transaction.
pushString(String) - Method in class net.carcdr.ycrdt.YArray
Appends a string value to the end of the array (creates implicit transaction).
pushString(YTransaction, String) - Method in class net.carcdr.ycrdt.YArray
Appends a string value to the end of the array within an existing transaction.

R

remove(int, int) - Method in class net.carcdr.ycrdt.YArray
Removes a range of elements from the array (creates implicit transaction).
remove(int, int) - Method in class net.carcdr.ycrdt.YXmlFragment
Removes children from this fragment.
remove(String) - Method in class net.carcdr.ycrdt.YMap
Removes a key from the map.
remove(YTransaction, int, int) - Method in class net.carcdr.ycrdt.YArray
Removes a range of elements from the array within an existing transaction.
remove(YTransaction, int, int) - Method in class net.carcdr.ycrdt.YXmlFragment
Removes children from this fragment within an existing transaction.
remove(YTransaction, String) - Method in class net.carcdr.ycrdt.YMap
Removes a key from the map within an existing transaction.
removeAttribute(String) - Method in class net.carcdr.ycrdt.YXmlElement
Removes an attribute.
removeAttribute(YTransaction, String) - Method in class net.carcdr.ycrdt.YXmlElement
Removes an attribute within an existing transaction.
removeChild(int) - Method in class net.carcdr.ycrdt.YXmlElement
Removes the child node at the specified index.
removeChild(YTransaction, int) - Method in class net.carcdr.ycrdt.YXmlElement
Removes the child node at the specified index within an existing transaction.
RETAIN - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
Position was retained (no change, used for context)

S

setAttribute(String, String) - Method in class net.carcdr.ycrdt.YXmlElement
Sets an attribute value.
setAttribute(YTransaction, String, String) - Method in class net.carcdr.ycrdt.YXmlElement
Sets an attribute value within an existing transaction.
setDoc(String, YDoc) - Method in class net.carcdr.ycrdt.YMap
Sets a YDoc subdocument value in the map.
setDoc(YTransaction, String, YDoc) - Method in class net.carcdr.ycrdt.YMap
Sets a YDoc subdocument value in the map within an existing transaction.
setDouble(String, double) - Method in class net.carcdr.ycrdt.YMap
Sets a double value in the map.
setDouble(YTransaction, String, double) - Method in class net.carcdr.ycrdt.YMap
Sets a double value in the map within an existing transaction.
setString(String, String) - Method in class net.carcdr.ycrdt.YMap
Sets a string value in the map.
setString(YTransaction, String, String) - Method in class net.carcdr.ycrdt.YMap
Sets a string value in the map within an existing transaction.
size() - Method in class net.carcdr.ycrdt.YMap
Returns the number of entries in the map.
size(YTransaction) - Method in class net.carcdr.ycrdt.YMap
Returns the number of entries in the map using an existing transaction.

T

TEXT - Enum constant in enum class net.carcdr.ycrdt.YXmlNode.NodeType
XML text node
toJson() - Method in class net.carcdr.ycrdt.YArray
Returns a JSON string representation of the array.
toJson() - Method in class net.carcdr.ycrdt.YMap
Returns a JSON string representation of the map.
toJson(YTransaction) - Method in class net.carcdr.ycrdt.YArray
Returns a JSON string representation of the array using an existing transaction.
toJson(YTransaction) - Method in class net.carcdr.ycrdt.YMap
Returns a JSON string representation of the map using an existing transaction.
toString() - Method in class net.carcdr.ycrdt.FormattingChunk
 
toString() - Method in class net.carcdr.ycrdt.YArrayChange
 
toString() - Method in class net.carcdr.ycrdt.YEvent
 
toString() - Method in class net.carcdr.ycrdt.YMapChange
 
toString() - Method in class net.carcdr.ycrdt.YText
Returns the text content as a string.
toString() - Method in class net.carcdr.ycrdt.YTextChange
 
toString() - Method in class net.carcdr.ycrdt.YXmlElement
Returns the XML string representation of this element.
toString() - Method in class net.carcdr.ycrdt.YXmlElementChange
 
toString() - Method in class net.carcdr.ycrdt.YXmlFragment
Returns the XML string representation of this fragment.
toString() - Method in interface net.carcdr.ycrdt.YXmlNode
Returns a string representation of this node.
toString() - Method in class net.carcdr.ycrdt.YXmlText
Returns the string representation of the XML text content.
toString(YTransaction) - Method in class net.carcdr.ycrdt.YXmlElement
Returns the XML string representation of this element using an existing transaction.
toString(YTransaction) - Method in class net.carcdr.ycrdt.YXmlText
Returns the string representation of the XML text content using an existing transaction.
toXmlString() - Method in class net.carcdr.ycrdt.YXmlFragment
Returns the XML string representation of this fragment.
toXmlString(YTransaction) - Method in class net.carcdr.ycrdt.YXmlFragment
Returns the XML string representation of this fragment using an existing transaction.
transaction(Consumer<YTransaction>) - Method in class net.carcdr.ycrdt.YDoc
Execute operations within a transaction using a callback.

U

unobserveById(long) - Method in class net.carcdr.ycrdt.YArray
Unregisters an observer by its subscription ID.
unobserveById(long) - Method in class net.carcdr.ycrdt.YDoc
Unregisters an update observer by subscription ID.
unobserveById(long) - Method in class net.carcdr.ycrdt.YMap
Unregisters an observer by its subscription ID.
unobserveById(long) - Method in class net.carcdr.ycrdt.YText
Package-private method to unobserve by subscription ID.
unobserveById(long) - Method in class net.carcdr.ycrdt.YXmlElement
Unregisters an observer by its subscription ID.
unobserveById(long) - Method in class net.carcdr.ycrdt.YXmlFragment
Unregisters an observer by its subscription ID.
unobserveById(long) - Method in class net.carcdr.ycrdt.YXmlText
Package-private method to unobserve by subscription ID.
UpdateObserver - Interface in net.carcdr.ycrdt
Functional interface for observing document-level updates.

V

valueOf(String) - Static method in enum class net.carcdr.ycrdt.YChange.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.carcdr.ycrdt.YXmlNode.NodeType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.carcdr.ycrdt.YChange.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.carcdr.ycrdt.YXmlNode.NodeType
Returns an array containing the constants of this enum class, in the order they are declared.

Y

YArray - Class in net.carcdr.ycrdt
YArray represents a collaborative array type in a Y-CRDT document.
YArrayChange - Class in net.carcdr.ycrdt
Represents a change to a YArray or YXmlFragment object.
YChange - Class in net.carcdr.ycrdt
Abstract base class for Y-CRDT change descriptions.
YChange() - Constructor for class net.carcdr.ycrdt.YChange
 
YChange.Type - Enum Class in net.carcdr.ycrdt
The type of change.
YDoc - Class in net.carcdr.ycrdt
YDoc represents a Y-CRDT document, which is a shared data structure that supports concurrent editing and automatic conflict resolution.
YDoc() - Constructor for class net.carcdr.ycrdt.YDoc
Creates a new YDoc instance with a randomly generated client ID.
YDoc(long) - Constructor for class net.carcdr.ycrdt.YDoc
Creates a new YDoc instance with a specific client ID.
YEvent - Class in net.carcdr.ycrdt
Represents a change event from a Y-CRDT data structure.
YMap - Class in net.carcdr.ycrdt
YMap represents a collaborative map type in a Y-CRDT document.
YMapChange - Class in net.carcdr.ycrdt
Represents a change to a YMap object.
YObserver - Interface in net.carcdr.ycrdt
Functional interface for observing changes to Y-CRDT data structures.
YSubscription - Class in net.carcdr.ycrdt
Represents an active observer subscription.
YText - Class in net.carcdr.ycrdt
YText represents a collaborative text type in a Y-CRDT document.
YTextChange - Class in net.carcdr.ycrdt
Represents a change to a YText or YXmlText object.
YTransaction - Class in net.carcdr.ycrdt
Transaction handle for batching multiple CRDT operations.
YXmlElement - Class in net.carcdr.ycrdt
YXmlElement represents a collaborative XML element type in a Y-CRDT document.
YXmlElementChange - Class in net.carcdr.ycrdt
Represents a change to a YXmlElement's attributes.
YXmlFragment - Class in net.carcdr.ycrdt
Represents a fragment of XML content in a Y-CRDT document.
YXmlNode - Interface in net.carcdr.ycrdt
Base interface for all XML nodes in a Y-CRDT document.
YXmlNode.NodeType - Enum Class in net.carcdr.ycrdt
Enumeration of XML node types.
YXmlText - Class in net.carcdr.ycrdt
YXmlText represents a collaborative XML text type in a Y-CRDT document.
A B C D E F G H I K L M N O P R S T U V Y 
All Classes and Interfaces|All Packages