XMLUserDataHandler.js 945 B

123456789101112131415161718192021222324252627
  1. // Generated by CoffeeScript 2.4.1
  2. (function() {
  3. var OperationType, XMLUserDataHandler;
  4. OperationType = require('./OperationType');
  5. // Represents a handler that gets called when its associated
  6. // node object is being cloned, imported, or renamed.
  7. module.exports = XMLUserDataHandler = class XMLUserDataHandler {
  8. // Initializes a new instance of `XMLUserDataHandler`
  9. constructor() {}
  10. // Called whenever the node for which this handler is
  11. // registered is imported or cloned.
  12. // `operation` type of operation that is being performed on the node
  13. // `key` the key for which this handler is being called
  14. // `data` the data for which this handler is being called
  15. // `src` the node being cloned, adopted, imported, or renamed
  16. // This is null when the node is being deleted.
  17. // `dst` the node newly created if any, or null
  18. handle(operation, key, data, src, dst) {}
  19. };
  20. }).call(this);