Class YXmlEvent

java.lang.Object
io.keikai.doc.collab.utils.YEvent
io.keikai.doc.collab.types.YXmlEvent

public class YXmlEvent extends YEvent
  • Constructor Details

    • YXmlEvent

      public YXmlEvent(YXmlFragment target, Set<String> subs, Transaction transaction)
      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

      public YXmlEvent(YXmlText target, Set<String> subs, Transaction transaction)
      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

      public Set<String> getAttributesChanged()
      Get the set of changed attributes.
      Returns:
      Set of changed attributes.