aboutsummaryrefslogtreecommitdiff
path: root/generator/node_modules/xmlbuilder/lib/XMLUserDataHandler.js
blob: 97ade4fba65bec51e3d46d816498d8262716c3ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Generated by CoffeeScript 2.4.1
(function() {
  var OperationType, XMLUserDataHandler;

  OperationType = require('./OperationType');

  // Represents a handler that gets called when its associated
  // node object is being cloned, imported, or renamed.
  module.exports = XMLUserDataHandler = class XMLUserDataHandler {
    // Initializes a new instance of `XMLUserDataHandler`

    constructor() {}

    // Called whenever the node for which this handler is 
    // registered is imported or cloned.

    // `operation` type of operation that is being performed on the node
    // `key` the key for which this handler is being called
    // `data` the data for which this handler is being called
    // `src` the node being cloned, adopted, imported, or renamed
    //       This is null when the node is being deleted.
    // `dst` the node newly created if any, or null
    handle(operation, key, data, src, dst) {}

  };

}).call(this);