Class ReplaceContent


public final class ReplaceContent extends InsertInto
Replace element content primitive, extending insert into primitive.
Author:
BaseX Team 2005-21, BSD License, Lukas Kircher
  • Method Details

    • merge

      public void merge(Update update)
      Description copied from class: Update
      Merges two update operations pointing to the same target.
      Overrides:
      merge in class InsertInto
      Parameters:
      update - operation to merge with
    • prepare

      public final void prepare(MemData memData, QueryContext qc)
      Description copied from class: NodeUpdate
      Prepares this update primitive before execution. This includes e.g. the preparation of insertion sequences.
      Specified by:
      prepare in class NodeUpdate
      Parameters:
      memData - temporary data instance
      qc - query context
    • size

      public int size()
      Description copied from class: Update
      Returns the number of update operations.
      Specified by:
      size in class Update
      Returns:
      number of updates
    • toString

      public final String toString()
      Overrides:
      toString in class Object