guardia-messenger/node_modules/xmlbuilder/lib/XMLCharacterData.js
DESKTOP-TKLFCPRython f29f525c77 refactor: 101.79.17.164 → zioinfo.co.kr 전체 도메인 변환 + Manager UI 배포
- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스)
- Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포
- 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 10:09:17 +09:00

87 lines
2.0 KiB
JavaScript

// Generated by CoffeeScript 2.4.1
(function() {
var XMLCharacterData, XMLNode;
XMLNode = require('./XMLNode');
// Represents a character data node
module.exports = XMLCharacterData = (function() {
class XMLCharacterData extends XMLNode {
// Initializes a new instance of `XMLCharacterData`
constructor(parent) {
super(parent);
this.value = '';
}
// Creates and returns a deep clone of `this`
clone() {
return Object.create(this);
}
// DOM level 1 functions to be implemented later
substringData(offset, count) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
appendData(arg) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
insertData(offset, arg) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
deleteData(offset, count) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
replaceData(offset, count, arg) {
throw new Error("This DOM method is not implemented." + this.debugInfo());
}
isEqualNode(node) {
if (!super.isEqualNode(node)) {
return false;
}
if (node.data !== this.data) {
return false;
}
return true;
}
};
// DOM level 1
Object.defineProperty(XMLCharacterData.prototype, 'data', {
get: function() {
return this.value;
},
set: function(value) {
return this.value = value || '';
}
});
Object.defineProperty(XMLCharacterData.prototype, 'length', {
get: function() {
return this.value.length;
}
});
// DOM level 3
Object.defineProperty(XMLCharacterData.prototype, 'textContent', {
get: function() {
return this.value;
},
set: function(value) {
return this.value = value || '';
}
});
return XMLCharacterData;
}).call(this);
}).call(this);