// Generated by CoffeeScript 1.12.7(function(){varXMLDTDNotation,XMLNode,extend=function(child,parent){for(varkeyinparent){if(hasProp.call(parent,key))child[key]=parent[key];}functionctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=newctor();child.__super__=parent.prototype;returnchild;},hasProp={}.hasOwnProperty;XMLNode=require('./XMLNode');module.exports=XMLDTDNotation=(function(superClass){extend(XMLDTDNotation,superClass);functionXMLDTDNotation(parent,name,value){XMLDTDNotation.__super__.constructor.call(this,parent);if(name==null){thrownewError("Missing notation name");}if(!value.pubID&&!value.sysID){thrownewError("Public or system identifiers are required for an external entity");}this.name=this.stringify.eleName(name);if(value.pubID!=null){this.pubID=this.stringify.dtdPubID(value.pubID);}if(value.sysID!=null){this.sysID=this.stringify.dtdSysID(value.sysID);}}XMLDTDNotation.prototype.toString=function(options){returnthis.options.writer.set(options).dtdNotation(this);};returnXMLDTDNotation;})(XMLNode);}).call(this);