Package io.keikai.doc.collab.types
Class YXmlEvent
java.lang.Object
io.keikai.doc.collab.utils.YEvent
io.keikai.doc.collab.types.YXmlEvent
-
Field Summary
Fields inherited from class io.keikai.doc.collab.utils.YEvent
_currentTarget, _target, _transaction, ERROR_COMPUTE_CHANGES -
Constructor Summary
ConstructorsConstructorDescriptionYXmlEvent(YXmlFragment target, Set<String> subs, Transaction transaction) YXmlEvent(YXmlText target, Set<String> subs, Transaction transaction) -
Method Summary
Modifier and TypeMethodDescriptionGet the set of changed attributes.booleanCheck if the child list changed.Methods inherited from class io.keikai.doc.collab.utils.YEvent
adds, deletes, getChanges, getKeys, getPath, getTarget, getTransaction, setCurrentTarget, setPath
-
Constructor Details
-
YXmlEvent
- Parameters:
target- The target on which the event is created.subs- The set of changed attributes. `null` is included if the child list changed.transaction- The transaction instance with which the change was created.
-
YXmlEvent
- Parameters:
target- The target on which the event is created.subs- The set of changed attributes. `null` is included if the child list changed.transaction- The transaction instance with which the change was created.
-
-
Method Details
-
isChildListChanged
public boolean isChildListChanged()Check if the child list changed.- Returns:
- Whether the child list changed.
-
getAttributesChanged
Get the set of changed attributes.- Returns:
- Set of changed attributes.
-