+CanvasNode.prototype.getMetaAttr = function(attr) {
+ return this.dom.attr('wlxml-meta-'+attr);
+};
+
+CanvasNode.prototype.getMetaAttrs = function() {
+ var toret = [];
+ var metaAttrPrefix = 'wlxml-meta-';
+
+ var attrList = classAttributes.getMetaAttrsList(this.getClass());
+ var c = this;
+ attrList.all.forEach(function(attr) {
+ toret.push({name: attr.name, value: c.getMetaAttr(attr.name) || ''});
+ });
+
+
+ return toret;
+};
+
+CanvasNode.prototype.setMetaAttr = function(attr, value) {
+ this.dom.attr('wlxml-meta-'+attr, value);
+};
+