(parent, pubID, sysID)
| 30525 | extend(XMLDocType, superClass); |
| 30526 | |
| 30527 | function XMLDocType(parent, pubID, sysID) { |
| 30528 | var ref, ref1; |
| 30529 | XMLDocType.__super__.constructor.call(this, parent); |
| 30530 | this.name = "!DOCTYPE"; |
| 30531 | this.documentObject = parent; |
| 30532 | if (isObject(pubID)) { |
| 30533 | ref = pubID, pubID = ref.pubID, sysID = ref.sysID; |
| 30534 | } |
| 30535 | if (sysID == null) { |
| 30536 | ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1]; |
| 30537 | } |
| 30538 | if (pubID != null) { |
| 30539 | this.pubID = this.stringify.dtdPubID(pubID); |
| 30540 | } |
| 30541 | if (sysID != null) { |
| 30542 | this.sysID = this.stringify.dtdSysID(sysID); |
| 30543 | } |
| 30544 | } |
| 30545 | |
| 30546 | XMLDocType.prototype.element = function(name, value) { |
| 30547 | var child; |
nothing calls this directly
no test coverage detected