a:188:{s:9:"#provides";s:19:"dojox.atom.io.model";s:9:"#resource";s:16:"atom/io/model.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:16:"dojox.xml.parser";}i:1;a:3:{i:0;s:6:"common";i:1;s:11:"dojo.string";i:2;s:4:"dojo";}i:2;a:3:{i:0;s:6:"common";i:1;s:15:"dojo.date.stamp";i:2;s:4:"dojo";}}s:24:"dojox.atom.io.model.Node";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:5:{s:10:"name_space";a:1:{s:4:"type";s:0:"";}s:4:"name";a:1:{s:4:"type";s:0:"";}s:10:"attributes";a:1:{s:4:"type";s:0:"";}s:7:"content";a:1:{s:4:"type";s:0:"";}s:7:"shortNs";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:326:" this.name_space = name_space; this.name = name; this.attributes = []; if(attributes){ this.attributes = attributes; } this.content = []; this.rawNodes = []; this.textContent = null; if(content){ this.content.push(content); } this.shortNs = shortNs; this._objName = "Node";//for debugging purposes";s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Node.buildFromDom";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Node";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:534:" this._saveAttributes(node); this.name_space = node.namespaceURI; this.shortNs = node.prefix; this.name = dojox.atom.io.model.util.getNodename(node); for(var x=0; x < node.childNodes.length; x++){ var c = node.childNodes[x]; if(dojox.atom.io.model.util.getNodename(c) != "#text" ){ this.rawNodes.push(c); var n = new dojox.atom.io.model.Node(); n.buildFromDom(c, true); this.content.push(n); }else{ this.content.push(c.nodeValue); } } this.textContent = dojox.xml.parser.textContent(node);";s:7:"summary";s:0:"";}s:40:"dojox.atom.io.model.Node._saveAttributes";a:6:{s:9:"prototype";s:24:"dojox.atom.io.model.Node";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:513:" if(!this.attributes){this.attributes = [];} // Work around lack of hasAttributes() in IE var hasAttributes = function(node){ var attrs = node.attributes; if(attrs === null){return false;} return (attrs.length !== 0); }; if(hasAttributes(node) && this._getAttributeNames){ var names = this._getAttributeNames(node); if(names && names.length > 0){ for(var x in names){ var attrib = node.getAttribute(names[x]); if(attrib){this.attributes[names[x]] = attrib;} } } }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Node.addAttribute";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Node";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"name";a:1:{s:4:"type";s:0:"";}s:5:"value";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:30:" this.attributes[name]=value;";s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Node.getAttribute";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Node";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"name";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:31:" return this.attributes[name];";s:7:"summary";s:0:"";}s:43:"dojox.atom.io.model.Node._getAttributeNames";a:6:{s:9:"prototype";s:24:"dojox.atom.io.model.Node";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:129:" var names = []; for(var i =0; i"); }else{ xml.push("<"); xml.push(name); if(this.name_space){ xml.push(" xmlns='" + this.name_space + "'"); } if(this.attributes){ for(x in this.attributes){ xml.push(" " + x + "='" + this.attributes[x] + "'"); } } if(this.content){ xml.push(">"); for(x in this.content){ xml.push(this.content[x]); } xml.push("\n"); }else{ xml.push("/>\n"); } } return xml.join('');";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Node.addContent";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Node";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:7:"content";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:29:" this.content.push(content);";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Node.name_space";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Node.shortNs";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:29:"dojox.atom.io.model.Node.name";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:36:"dojox.atom.io.model.Node.textContent";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Node.attributes";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Node.content";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Node.rawNodes";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Node._objName";a:3:{s:8:"instance";s:24:"dojox.atom.io.model.Node";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.atom.io.model.AtomItem";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}s:4:"call";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}}s:7:"summary";s:39:"Class container for generic Atom items.";s:11:"description";s:39:"Class container for generic Atom items.";s:10:"parameters";a:1:{s:4:"args";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:714:" this.ATOM_URI = dojox.atom.io.model._Constants.ATOM_URI; this.links = null; //Array of Link this.authors = null; //Array of Person this.categories = null; //Array of Category this.contributors = null; //Array of Person this.icon = this.id = this.logo = this.xmlBase = this.rights = null; //String this.subtitle = this.title = null; //Content this.updated = this.published = null; //Date // Google news this.issued = this.modified = null; //Date this.content = null; //Content this.extensions = null; //Array of Node, non atom based this.entries = null; //Array of Entry this.name_spaces = {}; this._objName = "AtomItem"; //for debugging purposes";s:9:"classlike";b:1;}s:47:"dojox.atom.io.model.AtomItem._getAttributeNames";a:5:{s:9:"prototype";s:28:"dojox.atom.io.model.AtomItem";s:4:"type";s:8:"Function";s:6:"source";s:44:" _getAttributeNames: function(){return null;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.AtomItem._accepts";a:4:{s:9:"prototype";s:28:"dojox.atom.io.model.AtomItem";s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.AtomItem.accept";a:5:{s:9:"prototype";s:28:"dojox.atom.io.model.AtomItem";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"tag";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:58:" accept: function(tag){return Boolean(this._accepts[tag]);";s:7:"summary";s:0:"";}s:39:"dojox.atom.io.model.AtomItem._postBuild";a:5:{s:9:"prototype";s:28:"dojox.atom.io.model.AtomItem";s:4:"type";s:8:"Function";s:6:"source";s:24:"} ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:41:"dojox.atom.io.model.AtomItem.buildFromDom";a:5:{s:9:"prototype";s:28:"dojox.atom.io.model.AtomItem";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:911:" var i, c, n; for(i=0; i\n'); return s.join('');";s:7:"summary";s:81:"Function to construct string form of the category tag, which is an XML structure.";s:11:"description";s:81:"Function to construct string form of the category tag, which is an XML structure.";}s:41:"dojox.atom.io.model.Category.buildFromDom";a:6:{s:9:"prototype";s:28:"dojox.atom.io.model.Category";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:36:"The DOM node to process for content.";}}s:6:"source";s:224:" this._saveAttributes(node);//just get the attributes from the node this.label = this.attributes.label; this.scheme = this.attributes.scheme; this.term = this.attributes.term; if(this._postBuild){this._postBuild();}";s:7:"summary";s:81:"Function to do construction of the Category data from the DOM node containing it.";s:11:"description";s:81:"Function to do construction of the Category data from the DOM node containing it.";}s:34:"dojox.atom.io.model.Category.label";a:2:{s:8:"instance";s:28:"dojox.atom.io.model.Category";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Category.scheme";a:2:{s:8:"instance";s:28:"dojox.atom.io.model.Category";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Category.term";a:2:{s:8:"instance";s:28:"dojox.atom.io.model.Category";s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Category._objName";a:3:{s:8:"instance";s:28:"dojox.atom.io.model.Category";s:7:"private";b:1;s:7:"summary";s:0:"";}s:27:"dojox.atom.io.model.Content";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}s:4:"call";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}}s:7:"summary";s:97:"Class container for 'Content' types. Such as summary, content, username, and so on types of data.";s:11:"description";s:97:"Class container for 'Content' types. Such as summary, content, username, and so on types of data.";s:10:"parameters";a:5:{s:7:"tagName";a:1:{s:4:"type";s:0:"";}s:5:"value";a:1:{s:4:"type";s:0:"";}s:3:"src";a:1:{s:4:"type";s:0:"";}s:4:"type";a:1:{s:4:"type";s:0:"";}s:7:"xmlLang";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:214:" this.tagName = tagName; this.value = value; this.src = src; this.type=type; this.xmlLang = xmlLang; this.HTML = "html"; this.TEXT = "text"; this.XHTML = "xhtml"; this.XML="xml"; this._useTextContent = "true";";s:9:"classlike";b:1;}s:46:"dojox.atom.io.model.Content._getAttributeNames";a:5:{s:9:"prototype";s:27:"dojox.atom.io.model.Content";s:4:"type";s:8:"Function";s:6:"source";s:54:" _getAttributeNames: function(){return ["type","src"];";s:7:"private";b:1;s:7:"summary";s:0:"";}s:38:"dojox.atom.io.model.Content._postBuild";a:5:{s:9:"prototype";s:27:"dojox.atom.io.model.Content";s:4:"type";s:8:"Function";s:6:"source";s:3:"} ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:40:"dojox.atom.io.model.Content.buildFromDom";a:6:{s:9:"prototype";s:27:"dojox.atom.io.model.Content";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:36:"The DOM node to process for content.";}}s:6:"source";s:715:" if(node.innerHTML){ this.value = node.innerHTML; }else{ this.value = dojox.xml.parser.textContent(node); } this._saveAttributes(node); if(this.attributes){ this.type = this.attributes.type; this.scheme = this.attributes.scheme; this.term = this.attributes.term; } if(!this.type){this.type = "text";} //We need to unescape the HTML content here so that it can be displayed correctly when the value is fetched. var lowerType = this.type.toLowerCase(); if(lowerType === "html" || lowerType === "text/html" || lowerType === "xhtml" || lowerType === "text/xhtml"){ this.value = dojox.atom.io.model.util.unEscapeHtml(this.value); } if(this._postBuild){this._postBuild();}";s:7:"summary";s:80:"Function to do construction of the Content data from the DOM node containing it.";s:11:"description";s:80:"Function to do construction of the Content data from the DOM node containing it.";}s:36:"dojox.atom.io.model.Content.toString";a:5:{s:9:"prototype";s:27:"dojox.atom.io.model.Content";s:4:"type";s:8:"Function";s:6:"source";s:523:" var s = []; s.push('<'+this.tagName+' '); if(!this.type){this.type = "text";} if(this.type){s.push(' type="'+this.type+'" ');} if(this.xmlLang){s.push(' xml:lang="'+this.xmlLang+'" ');} if(this.xmlBase){s.push(' xml:base="'+this.xmlBase+'" ');} //all HTML must be escaped if(this.type.toLowerCase() == this.HTML){ s.push('>'+dojox.atom.io.model.util.escapeHtml(this.value)+'\n'); }else{ s.push('>'+this.value+'\n'); } var ret = s.join(''); return ret;";s:7:"summary";s:80:"Function to construct string form of the content tag, which is an XML structure.";s:11:"description";s:80:"Function to construct string form of the content tag, which is an XML structure.";}s:33:"dojox.atom.io.model.Content.value";a:2:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Content.type";a:2:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"summary";s:0:"";}s:34:"dojox.atom.io.model.Content.scheme";a:2:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Content.term";a:2:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Content.tagName";a:2:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Content.HTML";a:2:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"summary";s:0:"";}s:43:"dojox.atom.io.model.Content._useTextContent";a:3:{s:8:"instance";s:27:"dojox.atom.io.model.Content";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dojox.atom.io.model.Link";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}s:4:"call";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}}s:7:"summary";s:33:"Class container for 'link' types.";s:11:"description";s:33:"Class container for 'link' types.";s:10:"parameters";a:5:{s:4:"href";a:1:{s:4:"type";s:0:"";}s:3:"rel";a:1:{s:4:"type";s:0:"";}s:8:"hrefLang";a:1:{s:4:"type";s:0:"";}s:5:"title";a:1:{s:4:"type";s:0:"";}s:4:"type";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:98:" this.href = href; this.hrefLang = hrefLang; this.rel = rel; this.title = title;this.type = type;";s:9:"classlike";b:1;}s:43:"dojox.atom.io.model.Link._getAttributeNames";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Link";s:4:"type";s:8:"Function";s:6:"source";s:80:" _getAttributeNames: function(){return ["href","jrefLang","rel","title","type"];";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Link._postBuild";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Link";s:4:"type";s:8:"Function";s:6:"source";s:3:"} ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Link.buildFromDom";a:6:{s:9:"prototype";s:24:"dojox.atom.io.model.Link";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:34:"DOM node to process for link data.";}}s:6:"source";s:298:" this._saveAttributes(node);//just get the attributes from the node this.href = this.attributes.href; this.hrefLang = this.attributes.hreflang; this.rel = this.attributes.rel; this.title = this.attributes.title; this.type = this.attributes.type; if(this._postBuild){this._postBuild();}";s:7:"summary";s:77:"Function to do construction of the link data from the DOM node containing it.";s:11:"description";s:77:"Function to do construction of the link data from the DOM node containing it.";}s:33:"dojox.atom.io.model.Link.toString";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Link";s:4:"type";s:8:"Function";s:6:"source";s:342:" var s = []; s.push('\n'); return s.join('');";s:7:"summary";s:77:"Function to construct string form of the link tag, which is an XML structure.";s:11:"description";s:77:"Function to construct string form of the link tag, which is an XML structure.";}s:29:"dojox.atom.io.model.Link.href";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Link";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Link.hrefLang";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Link";s:7:"summary";s:0:"";}s:28:"dojox.atom.io.model.Link.rel";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Link";s:7:"summary";s:0:"";}s:30:"dojox.atom.io.model.Link.title";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Link";s:7:"summary";s:0:"";}s:29:"dojox.atom.io.model.Link.type";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Link";s:7:"summary";s:0:"";}s:26:"dojox.atom.io.model.Person";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}s:4:"call";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}}s:7:"summary";s:76:"Class container for 'person' types, such as Author, controbutors, and so on.";s:11:"description";s:76:"Class container for 'person' types, such as Author, controbutors, and so on.";s:10:"parameters";a:4:{s:10:"personType";a:1:{s:4:"type";s:0:"";}s:4:"name";a:1:{s:4:"type";s:0:"";}s:5:"email";a:1:{s:4:"type";s:0:"";}s:3:"uri";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:266:" this.author = "author"; this.contributor = "contributor"; if(!personType){ personType = this.author; } this.personType = personType; this.name = name || ''; this.email = email || ''; this.uri = uri || ''; this._objName = "Person";//for debugging";s:9:"classlike";b:1;}s:45:"dojox.atom.io.model.Person._getAttributeNames";a:5:{s:9:"prototype";s:26:"dojox.atom.io.model.Person";s:4:"type";s:8:"Function";s:6:"source";s:44:" _getAttributeNames: function(){return null;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Person._postBuild";a:5:{s:9:"prototype";s:26:"dojox.atom.io.model.Person";s:4:"type";s:8:"Function";s:6:"source";s:3:"} ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Person.accept";a:5:{s:9:"prototype";s:26:"dojox.atom.io.model.Person";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"tag";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:58:" accept: function(tag){return Boolean(this._accepts[tag]);";s:7:"summary";s:0:"";}s:39:"dojox.atom.io.model.Person.buildFromDom";a:6:{s:9:"prototype";s:26:"dojox.atom.io.model.Person";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:36:"DOM node to process for person data.";}}s:6:"source";s:647:" var c = node.childNodes; for(var i = 0; i< c.length; i++){ var name = dojox.atom.io.model.util.getNodename(c[i]); if(!name){continue;} if(c[i].namespaceURI != dojox.atom.io.model._Constants.ATOM_NS && name != "#text"){ if(!this.extensions){this.extensions = [];} var extensionNode = new dojox.atom.io.model.Node(); extensionNode.buildFromDom(c[i]); this.extensions.push(extensionNode); } if(!this.accept(name.toLowerCase())){ continue; } var fn = dojox.atom.io.model._actions[name]; if(fn) { fn(this,c[i]); } } this._saveAttributes(node); if(this._postBuild){this._postBuild();}";s:7:"summary";s:79:"Function to do construction of the person data from the DOM node containing it.";s:11:"description";s:79:"Function to do construction of the person data from the DOM node containing it.";}s:35:"dojox.atom.io.model.Person._accepts";a:4:{s:9:"prototype";s:26:"dojox.atom.io.model.Person";s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Person.toString";a:5:{s:9:"prototype";s:26:"dojox.atom.io.model.Person";s:4:"type";s:8:"Function";s:6:"source";s:286:" var s = []; s.push('<'+this.personType+'>\n'); if(this.name){s.push('\t'+this.name+'\n');} if(this.email){s.push('\t'+this.email+'\n');} if(this.uri){s.push('\t'+this.uri+'\n');} s.push('\n'); return s.join('');";s:7:"summary";s:79:"Function to construct string form of the Person tag, which is an XML structure.";s:11:"description";s:79:"Function to construct string form of the Person tag, which is an XML structure.";}s:37:"dojox.atom.io.model.Person.extensions";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Person.author";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:38:"dojox.atom.io.model.Person.contributor";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Person.personType";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:31:"dojox.atom.io.model.Person.name";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Person.email";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:30:"dojox.atom.io.model.Person.uri";a:2:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Person._objName";a:3:{s:8:"instance";s:26:"dojox.atom.io.model.Person";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.atom.io.model.Generator";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}s:4:"call";a:1:{i:0;s:24:"dojox.atom.io.model.Node";}}s:7:"summary";s:38:"Class container for 'Generator' types.";s:11:"description";s:38:"Class container for 'Generator' types.";s:10:"parameters";a:3:{s:3:"uri";a:1:{s:4:"type";s:6:"String";}s:7:"version";a:1:{s:4:"type";s:6:"String";}s:5:"value";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:65:" this.uri = uri; this.version = version; this.value = value;";s:9:"classlike";b:1;}s:40:"dojox.atom.io.model.Generator._postBuild";a:5:{s:9:"prototype";s:29:"dojox.atom.io.model.Generator";s:4:"type";s:8:"Function";s:6:"source";s:3:"} ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:42:"dojox.atom.io.model.Generator.buildFromDom";a:6:{s:9:"prototype";s:29:"dojox.atom.io.model.Generator";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:34:"DOM node to process for link data.";}}s:6:"source";s:203:" this.value = dojox.xml.parser.textContent(node); this._saveAttributes(node); this.uri = this.attributes.uri; this.version = this.attributes.version; if(this._postBuild){this._postBuild();}";s:7:"summary";s:82:"Function to do construction of the generator data from the DOM node containing it.";s:11:"description";s:82:"Function to do construction of the generator data from the DOM node containing it.";}s:38:"dojox.atom.io.model.Generator.toString";a:5:{s:9:"prototype";s:29:"dojox.atom.io.model.Generator";s:4:"type";s:8:"Function";s:6:"source";s:227:" var s = []; s.push(''+this.value+'\n'); var ret = s.join(''); return ret;";s:7:"summary";s:82:"Function to construct string form of the Generator tag, which is an XML structure.";s:11:"description";s:82:"Function to construct string form of the Generator tag, which is an XML structure.";}s:35:"dojox.atom.io.model.Generator.value";a:2:{s:8:"instance";s:29:"dojox.atom.io.model.Generator";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Generator.uri";a:2:{s:8:"instance";s:29:"dojox.atom.io.model.Generator";s:7:"summary";s:0:"";}s:37:"dojox.atom.io.model.Generator.version";a:2:{s:8:"instance";s:29:"dojox.atom.io.model.Generator";s:7:"summary";s:0:"";}s:25:"dojox.atom.io.model.Entry";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:28:"dojox.atom.io.model.AtomItem";}s:4:"call";a:1:{i:0;s:28:"dojox.atom.io.model.AtomItem";}}s:7:"summary";s:34:"Class container for 'Entry' types.";s:11:"description";s:34:"Class container for 'Entry' types.";s:10:"parameters";a:1:{s:2:"id";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:61:" this.id = id; this._objName = "Entry"; this.feedUrl = null;";s:9:"classlike";b:1;}s:44:"dojox.atom.io.model.Entry._getAttributeNames";a:5:{s:9:"prototype";s:25:"dojox.atom.io.model.Entry";s:4:"type";s:8:"Function";s:6:"source";s:44:" _getAttributeNames: function(){return null;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.atom.io.model.Entry._accepts";a:4:{s:9:"prototype";s:25:"dojox.atom.io.model.Entry";s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.atom.io.model.Entry.toString";a:7:{s:9:"prototype";s:25:"dojox.atom.io.model.Entry";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:9:"amPrimary";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:1556:" var s = []; var i; if(amPrimary){ s.push(""); s.push("\n'); s.push('' + (this.id ? this.id: '') + '\n'); if(this.issued && !this.published){this.published = this.issued;} if(this.published){s.push(''+dojo.date.stamp.toISOString(this.published)+'\n');} if(this.created){s.push(''+dojo.date.stamp.toISOString(this.created)+'\n');} //Google News if(this.issued){s.push(''+dojo.date.stamp.toISOString(this.issued)+'\n');} //Google News if(this.modified){s.push(''+dojo.date.stamp.toISOString(this.modified)+'\n');} if(this.modified && !this.updated){this.updated = this.modified;} if(this.updated){s.push(''+dojo.date.stamp.toISOString(this.updated)+'\n');} if(this.rights){s.push(''+this.rights+'\n');} if(this.title){s.push(this.title.toString());} if(this.summary){s.push(this.summary.toString());} var arrays = [this.authors,this.categories,this.links,this.contributors,this.extensions]; for(var x in arrays){ if(arrays[x]){ for(var y in arrays[x]){ s.push(arrays[x][y]); } } } if(this.content){s.push(this.content.toString());} s.push("\n"); return s.join(''); //string";s:7:"summary";s:78:"Function to construct string form of the entry tag, which is an XML structure.";s:11:"description";s:78:"Function to construct string form of the entry tag, which is an XML structure.";s:7:"returns";s:6:"string";}s:37:"dojox.atom.io.model.Entry.getEditHref";a:7:{s:9:"prototype";s:25:"dojox.atom.io.model.Entry";s:4:"type";s:8:"Function";s:6:"source";s:222:" if(this.links === null || this.links.length === 0){ return null; } for(var x in this.links){ if(this.links[x].rel && this.links[x].rel == "edit"){ return this.links[x].href; //string } } return null;";s:7:"summary";s:64:"Function to get the href that allows editing of this feed entry.";s:11:"description";s:64:"Function to get the href that allows editing of this feed entry.";s:14:"return_summary";s:40:"The href that specifies edit capability.";s:7:"returns";s:6:"string";}s:37:"dojox.atom.io.model.Entry.setEditHref";a:5:{s:9:"prototype";s:25:"dojox.atom.io.model.Entry";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"url";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:215:" if(this.links === null){ this.links = []; } for(var x in this.links){ if(this.links[x].rel && this.links[x].rel == "edit"){ this.links[x].href = url; return; } } this.addLink(url, 'edit');";s:7:"summary";s:0:"";}s:35:"dojox.atom.io.model.Entry.published";a:2:{s:8:"instance";s:25:"dojox.atom.io.model.Entry";s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Entry.updated";a:2:{s:8:"instance";s:25:"dojox.atom.io.model.Entry";s:7:"summary";s:0:"";}s:31:"dojox.atom.io.model.Entry.links";a:2:{s:8:"instance";s:25:"dojox.atom.io.model.Entry";s:7:"summary";s:0:"";}s:28:"dojox.atom.io.model.Entry.id";a:2:{s:8:"instance";s:25:"dojox.atom.io.model.Entry";s:7:"summary";s:0:"";}s:24:"dojox.atom.io.model.Feed";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:28:"dojox.atom.io.model.AtomItem";}s:4:"call";a:1:{i:0;s:28:"dojox.atom.io.model.AtomItem";}}s:7:"summary";s:33:"Class container for 'Feed' types.";s:11:"description";s:33:"Class container for 'Feed' types.";s:9:"classlike";b:1;}s:33:"dojox.atom.io.model.Feed._accepts";a:4:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.atom.io.model.Feed.addEntry";a:6:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:24:"The entry object to add.";}}s:6:"source";s:245:" if(!entry.id){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.io", "messages"); throw new Error(_nlsResources.noId); } if(!this.entries){this.entries = [];} entry.feedUrl = this.getSelfHref(); this.entries.push(entry);";s:7:"summary";s:38:"Function to add an entry to this feed.";s:11:"description";s:38:"Function to add an entry to this feed.";}s:38:"dojox.atom.io.model.Feed.getFirstEntry";a:7:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:6:"source";s:97:" if(!this.entries || this.entries.length === 0){return null;} return this.entries[0]; //object";s:7:"summary";s:44:"Function to get the first entry of the feed.";s:11:"description";s:44:"Function to get the first entry of the feed.";s:14:"return_summary";s:28:"The first entry in the feed.";s:7:"returns";s:6:"object";}s:33:"dojox.atom.io.model.Feed.getEntry";a:7:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:7:"entryId";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:153:" if(!this.entries){return null;} for(var x in this.entries){ if(this.entries[x].id == entryId){ return this.entries[x]; } } return null;";s:7:"summary";s:35:"Function to get an entry by its id.";s:11:"description";s:35:"Function to get an entry by its id.";s:14:"return_summary";s:35:"The entry desired, or null if none.";}s:36:"dojox.atom.io.model.Feed.removeEntry";a:6:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:10:"The entry.";}}s:6:"source";s:195:" if(!this.entries){return;} var count = 0; for(var i = 0; i < this.entries.length; i++){ if(this.entries[i] === entry){ this.entries.splice(i,1); count++; } } return count;";s:7:"summary";s:51:"Function to remove an entry from the list of links.";s:11:"description";s:51:"Function to remove an entry from the list of links.";}s:35:"dojox.atom.io.model.Feed.setEntries";a:6:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:12:"arrayOfEntry";a:2:{s:4:"type";s:5:"array";s:7:"summary";s:45:"An array of entry objects to add to the feed.";}}s:6:"source";s:68:" for(var x in arrayOfEntry){ this.addEntry(arrayOfEntry[x]); }";s:7:"summary";s:45:"Function to add a set of entries to the feed.";s:11:"description";s:35:"Function to get an entry by its id.";}s:33:"dojox.atom.io.model.Feed.toString";a:5:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:6:"source";s:1654:" var s = []; var i; s.push('\n'); s.push('\n'); s.push('' + (this.id ? this.id: '') + '\n'); if(this.title){s.push(this.title);} if(this.copyright && !this.rights){this.rights = this.copyright;} if(this.rights){s.push('' + this.rights + '\n');} // Google news if(this.issued){s.push(''+dojo.date.stamp.toISOString(this.issued)+'\n');} if(this.modified){s.push(''+dojo.date.stamp.toISOString(this.modified)+'\n');} if(this.modified && !this.updated){this.updated=this.modified;} if(this.updated){s.push(''+dojo.date.stamp.toISOString(this.updated)+'\n');} if(this.published){s.push(''+dojo.date.stamp.toISOString(this.published)+'\n');} if(this.icon){s.push(''+this.icon+'\n');} if(this.language){s.push(''+this.language+'\n');} if(this.logo){s.push(''+this.logo+'\n');} if(this.subtitle){s.push(this.subtitle.toString());} if(this.tagline){s.push(this.tagline.toString());} //TODO: need to figure out what to do with xmlBase var arrays = [this.alternateLinks,this.authors,this.categories,this.contributors,this.otherLinks,this.extensions,this.entries]; for(i in arrays){ if(arrays[i]){ for(var x in arrays[i]){ s.push(arrays[i][x]); } } } s.push(''); return s.join('');";s:7:"summary";s:77:"Function to construct string form of the feed tag, which is an XML structure.";s:11:"description";s:77:"Function to construct string form of the feed tag, which is an XML structure.";}s:36:"dojox.atom.io.model.Feed.createEntry";a:7:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:6:"source";s:109:" var entry = new dojox.atom.io.model.Entry(); entry.feedUrl = this.getSelfHref(); return entry; //object";s:7:"summary";s:50:"Function to Create a new entry object in the feed.";s:11:"description";s:50:"Function to Create a new entry object in the feed.";s:14:"return_summary";s:34:"An empty entry object in the feed.";s:7:"returns";s:6:"object";}s:36:"dojox.atom.io.model.Feed.getSelfHref";a:7:{s:9:"prototype";s:24:"dojox.atom.io.model.Feed";s:4:"type";s:8:"Function";s:6:"source";s:222:" if(this.links === null || this.links.length === 0){ return null; } for(var x in this.links){ if(this.links[x].rel && this.links[x].rel == "self"){ return this.links[x].href; //string } } return null;";s:7:"summary";s:50:"Function to get the href that refers to this feed.";s:11:"description";s:50:"Function to get the href that refers to this feed.";s:14:"return_summary";s:50:"The href that refers to this feed or null if none.";s:7:"returns";s:6:"string";}s:32:"dojox.atom.io.model.Feed.entries";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Feed";s:7:"summary";s:0:"";}s:39:"dojox.atom.io.model.Feed.entries.length";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Feed";s:7:"summary";s:0:"";}s:31:"dojox.atom.io.model.Feed.rights";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Feed";s:7:"summary";s:0:"";}s:32:"dojox.atom.io.model.Feed.updated";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Feed";s:7:"summary";s:0:"";}s:30:"dojox.atom.io.model.Feed.links";a:2:{s:8:"instance";s:24:"dojox.atom.io.model.Feed";s:7:"summary";s:0:"";}s:27:"dojox.atom.io.model.Service";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:28:"dojox.atom.io.model.AtomItem";}s:4:"call";a:1:{i:0;s:28:"dojox.atom.io.model.AtomItem";}}s:7:"summary";s:33:"Class container for 'Feed' types.";s:11:"description";s:33:"Class container for 'Feed' types.";s:10:"parameters";a:1:{s:4:"href";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:19:" this.href = href;";s:9:"classlike";b:1;}s:40:"dojox.atom.io.model.Service.buildFromDom";a:6:{s:9:"prototype";s:27:"dojox.atom.io.model.Service";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:36:"The DOM node to process for content.";}}s:6:"source";s:1285:" var href; var i; var len = node.childNodes ? node.childNodes.length : 0; this.workspaces = []; if(node.tagName != "service"){ // FIXME: Need 0.9 DOM util... //node = dojox.xml.parser.firstElement(node,"service"); //if(!node){return;} return; } if(node.namespaceURI != dojox.atom.io.model._Constants.PURL_NS && node.namespaceURI != dojox.atom.io.model._Constants.APP_NS){return;} var ns = node.namespaceURI; this.name_space = node.namespaceURI; //find all workspaces, and create them var workspaces ; if(typeof(node.getElementsByTagNameNS)!= "undefined"){ workspaces = node.getElementsByTagNameNS(ns,"workspace"); }else{ // This block is IE only, which doesn't have a 'getElementsByTagNameNS' function workspaces = []; var temp = node.getElementsByTagName('workspace'); for(i=0; i 0){ var wkLen = 0; var workspace; for(i = 0; i< workspaces.length; i++){ workspace = (typeof(workspaces.item)==="undefined"?workspaces[i]:workspaces.item(i)); var wkspace = new dojox.atom.io.model.Workspace(); wkspace.buildFromDom(workspace); this.workspaces[wkLen++] = wkspace; } }";s:7:"summary";s:80:"Function to do construction of the Service data from the DOM node containing it.";s:11:"description";s:80:"Function to do construction of the Service data from the DOM node containing it.";}s:41:"dojox.atom.io.model.Service.getCollection";a:6:{s:9:"prototype";s:27:"dojox.atom.io.model.Service";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"url";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:35:"e URL to match collections against.";}}s:6:"source";s:200:" for(var i=0;i/gm, ">").replace(/"/gm, """); str = str.replace(/'/gm, "'"); return str;";s:7:"summary";s:68:"Utility function to escape XML special characters in an HTML string.";s:11:"description";s:68:"Utility function to escape XML special characters in an HTML string.";s:14:"return_summary";s:61:"HTML String with special characters (<,>,&, ", etc,) escaped.";}s:37:"dojox.atom.io.model.util.unEscapeHtml";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"str";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:24:"The string to un-escape.";}}s:6:"source";s:160:" str = str.replace(/&/gm, "&").replace(/</gm, "<").replace(/>/gm, ">").replace(/"/gm, "\""); str = str.replace(/'/gm, "'"); return str;";s:7:"summary";s:71:"Utility function to un-escape XML special characters in an HTML string.";s:11:"description";s:71:"Utility function to un-escape XML special characters in an HTML string.";s:14:"return_summary";s:86:"HTML String converted back to the normal text (unescaped) characters (<,>,&, ", etc,).";}s:36:"dojox.atom.io.model.util.getNodename";a:6:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:36:"The DOM node whose name to retrieve.";}}s:6:"source";s:260:" var name = null; if(node !== null){ name = node.localName ? node.localName: node.nodeName; if(name !== null){ var nsSep = name.indexOf(":"); if(nsSep !== -1){ name = name.substring((nsSep + 1), name.length); } } } return name;";s:7:"summary";s:95:"Utility function to get a node name and deal with IE's bad handling of namespaces on tag names.";s:11:"description";s:95:"Utility function to get a node name and deal with IE's bad handling of namespaces on tag names.";s:14:"return_summary";s:43:"String The name without namespace prefixes.";}s:19:"dojox.atom.io.model";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:13:"dojox.atom.io";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:10:"dojox.atom";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}