Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

autolinker

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autolinker - npm Package Compare versions

Comparing version 0.17.1 to 0.18.0

.editorconfig

4

dist/Autolinker.min.js
/*!
* Autolinker.js
* 0.17.1
* 0.18.0
*

@@ -10,2 +10,2 @@ * Copyright(c) 2015 Gregory Jacobs <greg@greg-jacobs.com>

*/
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return a.Autolinker=b()}):"object"==typeof exports?module.exports=b():a.Autolinker=b()}(this,function(){var a=function(b){a.Util.assign(this,b);var c=this.hashtag;if(c!==!1&&"twitter"!==c&&"facebook"!==c)throw new Error("invalid `hashtag` cfg - see docs")};return a.prototype={constructor:a,urls:!0,email:!0,twitter:!0,phone:!0,hashtag:!1,newWindow:!0,stripPrefix:!0,truncate:void 0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void 0,link:function(a){for(var b=this.getHtmlParser(),c=b.parse(a),d=0,e=[],f=0,g=c.length;g>f;f++){var h=c[f],i=h.getType(),j=h.getText();if("element"===i)"a"===h.getTagName()&&(h.isClosing()?d=Math.max(d-1,0):d++),e.push(j);else if("entity"===i||"comment"===i)e.push(j);else if(0===d){var k=this.linkifyStr(j);e.push(k)}else e.push(j)}return e.join("")},linkifyStr:function(a){return this.getMatchParser().replace(a,this.createMatchReturnVal,this)},createMatchReturnVal:function(b){var c;if(this.replaceFn&&(c=this.replaceFn.call(this,this,b)),"string"==typeof c)return c;if(c===!1)return b.getMatchedText();if(c instanceof a.HtmlTag)return c.toAnchorString();var d=this.getTagBuilder(),e=d.build(b);return e.toAnchorString()},getHtmlParser:function(){var b=this.htmlParser;return b||(b=this.htmlParser=new a.htmlParser.HtmlParser),b},getMatchParser:function(){var b=this.matchParser;return b||(b=this.matchParser=new a.matchParser.MatchParser({urls:this.urls,email:this.email,twitter:this.twitter,phone:this.phone,hashtag:this.hashtag,stripPrefix:this.stripPrefix})),b},getTagBuilder:function(){var b=this.tagBuilder;return b||(b=this.tagBuilder=new a.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),b}},a.link=function(b,c){var d=new a(c);return d.link(b)},a.match={},a.htmlParser={},a.matchParser={},a.Util={abstractMethod:function(){throw"abstract"},trimRegex:/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,assign:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a},extend:function(b,c){var d=b.prototype,e=function(){};e.prototype=d;var f;f=c.hasOwnProperty("constructor")?c.constructor:function(){d.constructor.apply(this,arguments)};var g=f.prototype=new e;return g.constructor=f,g.superclass=d,delete c.constructor,a.Util.assign(g,c),f},ellipsis:function(a,b,c){return a.length>b&&(c=null==c?"..":c,a=a.substring(0,b-c.length)+c),a},indexOf:function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},splitAndCapture:function(a,b){if(!b.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var c,d=[],e=0;c=b.exec(a);)d.push(a.substring(e,c.index)),d.push(c[0]),e=c.index+c[0].length;return d.push(a.substring(e)),d},trim:function(a){return a.replace(this.trimRegex,"")}},a.HtmlTag=a.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(b){a.Util.assign(this,b),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(a){return this.tagName=a,this},getTagName:function(){return this.tagName||""},setAttr:function(a,b){var c=this.getAttrs();return c[a]=b,this},getAttr:function(a){return this.getAttrs()[a]},setAttrs:function(b){var c=this.getAttrs();return a.Util.assign(c,b),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(a){return this.setAttr("class",a)},addClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);c=h.shift();)-1===f(g,c)&&g.push(c);return this.getAttrs()["class"]=g.join(" "),this},removeClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);g.length&&(c=h.shift());){var i=f(g,c);-1!==i&&g.splice(i,1)}return this.getAttrs()["class"]=g.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(a){return-1!==(" "+this.getClass()+" ").indexOf(" "+a+" ")},setInnerHtml:function(a){return this.innerHtml=a,this},getInnerHtml:function(){return this.innerHtml||""},toAnchorString:function(){var a=this.getTagName(),b=this.buildAttrsStr();return b=b?" "+b:"",["<",a,b,">",this.getInnerHtml(),"</",a,">"].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var a=this.getAttrs(),b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+'="'+a[c]+'"');return b.join(" ")}}),a.AnchorTagBuilder=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},build:function(b){var c=new a.HtmlTag({tagName:"a",attrs:this.createAttrs(b.getType(),b.getAnchorHref()),innerHtml:this.processAnchorText(b.getAnchorText())});return c},createAttrs:function(a,b){var c={href:b},d=this.createCssClass(a);return d&&(c["class"]=d),this.newWindow&&(c.target="_blank"),c},createCssClass:function(a){var b=this.className;return b?b+" "+b+"-"+a:""},processAnchorText:function(a){return a=this.doTruncate(a)},doTruncate:function(b){return a.Util.ellipsis(b,this.truncate||Number.POSITIVE_INFINITY)}}),a.htmlParser.HtmlParser=a.Util.extend(Object,{htmlRegex:function(){var a=/!--([\s\S]+?)--/,b=/[0-9a-zA-Z][0-9a-zA-Z:]*/,c=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,d=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,e=c.source+"(?:\\s*=\\s*"+d.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",e,"|",d.source+")",")*",">",")","|","(?:","<(/)?","(?:",a.source,"|","(?:","("+b.source+")","(?:","\\s+",e,")*","\\s*/?",")",")",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi,parse:function(a){for(var b,c,d=this.htmlRegex,e=0,f=[];null!==(b=d.exec(a));){var g=b[0],h=b[3],i=b[1]||b[4],j=!!b[2],k=a.substring(e,b.index);k&&(c=this.parseTextAndEntityNodes(k),f.push.apply(f,c)),f.push(h?this.createCommentNode(g,h):this.createElementNode(g,i,j)),e=b.index+g.length}if(e<a.length){var l=a.substring(e);l&&(c=this.parseTextAndEntityNodes(l),f.push.apply(f,c))}return f},parseTextAndEntityNodes:function(b){for(var c=[],d=a.Util.splitAndCapture(b,this.htmlCharacterEntitiesRegex),e=0,f=d.length;f>e;e+=2){var g=d[e],h=d[e+1];g&&c.push(this.createTextNode(g)),h&&c.push(this.createEntityNode(h))}return c},createCommentNode:function(b,c){return new a.htmlParser.CommentNode({text:b,comment:a.Util.trim(c)})},createElementNode:function(b,c,d){return new a.htmlParser.ElementNode({text:b,tagName:c.toLowerCase(),closing:d})},createEntityNode:function(b){return new a.htmlParser.EntityNode({text:b})},createTextNode:function(b){return new a.htmlParser.TextNode({text:b})}}),a.htmlParser.HtmlNode=a.Util.extend(Object,{text:"",constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getText:function(){return this.text}}),a.htmlParser.CommentNode=a.Util.extend(a.htmlParser.HtmlNode,{comment:"",getType:function(){return"comment"},getComment:function(){return this.comment}}),a.htmlParser.ElementNode=a.Util.extend(a.htmlParser.HtmlNode,{tagName:"",closing:!1,getType:function(){return"element"},getTagName:function(){return this.tagName},isClosing:function(){return this.closing}}),a.htmlParser.EntityNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"entity"}}),a.htmlParser.TextNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"text"}}),a.matchParser.MatchParser=a.Util.extend(Object,{urls:!0,email:!0,twitter:!0,phone:!0,hashtag:!1,stripPrefix:!0,matcherRegex:function(){var a=/(^|[^\w])@(\w{1,15})/,b=/(^|[^\w])#(\w{1,15})/,c=/(?:[\-;:&=\+\$,\w\.]+@)/,d=/(?:\+?\d{1,3}[-\s.])?\(?\d{3}\)?[-\s.]?\d{3}[-\s.]\d{4}/,e=/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/,f=/(?:www\.)/,g=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,h=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,i=/[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]?!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]]/;return new RegExp(["(",a.source,")","|","(",c.source,g.source,h.source,")","|","(","(?:","(",e.source,g.source,")","|","(?:","(.?//)?",f.source,g.source,")","|","(?:","(.?//)?",g.source,h.source,")",")","(?:"+i.source+")?",")","|","(",d.source,")","|","(",b.source,")"].join(""),"gi")}(),charBeforeProtocolRelMatchRegex:/^(.)?\/\//,constructor:function(b){a.Util.assign(this,b),this.matchValidator=new a.MatchValidator},replace:function(a,b,c){var d=this;return a.replace(this.matcherRegex,function(a,e,f,g,h,i,j,k,l,m,n,o,p){var q=d.processCandidateMatch(a,e,f,g,h,i,j,k,l,m,n,o,p);if(q){var r=b.call(c,q.match);return q.prefixStr+r+q.suffixStr}return a})},processCandidateMatch:function(b,c,d,e,f,g,h,i,j,k,l,m,n){var o,p=i||j,q="",r="";if(g&&!this.urls||f&&!this.email||k&&!this.phone||c&&!this.twitter||l&&!this.hashtag||!this.matchValidator.isValidMatch(g,h,p))return null;if(this.matchHasUnbalancedClosingParen(b)&&(b=b.substr(0,b.length-1),r=")"),f)o=new a.match.Email({matchedText:b,email:f});else if(c)d&&(q=d,b=b.slice(1)),o=new a.match.Twitter({matchedText:b,twitterHandle:e});else if(k){var s=b.replace(/\D/g,"");o=new a.match.Phone({matchedText:b,number:s})}else if(l)m&&(q=m,b=b.slice(1)),o=new a.match.Hashtag({matchedText:b,serviceName:this.hashtag,hashtag:n});else{if(p){var t=p.match(this.charBeforeProtocolRelMatchRegex)[1]||"";t&&(q=t,b=b.slice(1))}o=new a.match.Url({matchedText:b,url:b,protocolUrlMatch:!!h,protocolRelativeMatch:!!p,stripPrefix:this.stripPrefix})}return{prefixStr:q,suffixStr:r,match:o}},matchHasUnbalancedClosingParen:function(a){var b=a.charAt(a.length-1);if(")"===b){var c=a.match(/\(/g),d=a.match(/\)/g),e=c&&c.length||0,f=d&&d.length||0;if(f>e)return!0}return!1}}),a.MatchValidator=a.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(a,b,c){return b&&!this.isValidUriScheme(b)||this.urlMatchDoesNotHaveProtocolOrDot(a,b)||this.urlMatchDoesNotHaveAtLeastOneWordChar(a,b)||this.isInvalidProtocolRelativeMatch(c)?!1:!0},isValidUriScheme:function(a){var b=a.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==b&&"vbscript:"!==b},urlMatchDoesNotHaveProtocolOrDot:function(a,b){return!(!a||b&&this.hasFullProtocolRegex.test(b)||-1!==a.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(a,b){return a&&b?!this.hasWordCharAfterProtocolRegex.test(a):!1},isInvalidProtocolRelativeMatch:function(a){return!!a&&this.invalidProtocolRelMatchRegex.test(a)}}),a.match.Match=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:a.Util.abstractMethod,getAnchorText:a.Util.abstractMethod}),a.match.Email=a.Util.extend(a.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),a.match.Hashtag=a.Util.extend(a.match.Match,{getType:function(){return"hashtag"},getHashtag:function(){return this.hashtag},getAnchorHref:function(){var a=this.serviceName,b=this.hashtag;switch(a){case"twitter":return"https://twitter.com/hashtag/"+b;case"facebook":return"https://www.facebook.com/hashtag/"+b;default:throw new Error("Unknown service name to point hashtag to: ",a)}},getAnchorText:function(){return"#"+this.hashtag}}),a.match.Phone=a.Util.extend(a.match.Match,{getType:function(){return"phone"},getNumber:function(){return this.number},getAnchorHref:function(){return"tel:"+this.number},getAnchorText:function(){return this.matchedText}}),a.match.Twitter=a.Util.extend(a.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),a.match.Url=a.Util.extend(a.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var a=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(a=this.url="http://"+a,this.protocolPrepended=!0),a},getAnchorHref:function(){var a=this.getUrl();return a.replace(/&amp;/g,"&")},getAnchorText:function(){var a=this.getUrl();return this.protocolRelativeMatch&&(a=this.stripProtocolRelativePrefix(a)),this.stripPrefix&&(a=this.stripUrlPrefix(a)),a=this.removeTrailingSlash(a)},stripUrlPrefix:function(a){return a.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(a){return a.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(a){return"/"===a.charAt(a.length-1)&&(a=a.slice(0,-1)),a}}),a});
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return a.Autolinker=b()}):"object"==typeof exports?module.exports=b():a.Autolinker=b()}(this,function(){var a=function(b){a.Util.assign(this,b);var c=this.hashtag;if(c!==!1&&"twitter"!==c&&"facebook"!==c)throw new Error("invalid `hashtag` cfg - see docs")};return a.prototype={constructor:a,urls:!0,email:!0,twitter:!0,phone:!0,hashtag:!1,newWindow:!0,stripPrefix:!0,truncate:void 0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void 0,link:function(a){if(!a)return"";for(var b=this.getHtmlParser(),c=b.parse(a),d=0,e=[],f=0,g=c.length;g>f;f++){var h=c[f],i=h.getType(),j=h.getText();if("element"===i)"a"===h.getTagName()&&(h.isClosing()?d=Math.max(d-1,0):d++),e.push(j);else if("entity"===i||"comment"===i)e.push(j);else if(0===d){var k=this.linkifyStr(j);e.push(k)}else e.push(j)}return e.join("")},linkifyStr:function(a){return this.getMatchParser().replace(a,this.createMatchReturnVal,this)},createMatchReturnVal:function(b){var c;if(this.replaceFn&&(c=this.replaceFn.call(this,this,b)),"string"==typeof c)return c;if(c===!1)return b.getMatchedText();if(c instanceof a.HtmlTag)return c.toAnchorString();var d=this.getTagBuilder(),e=d.build(b);return e.toAnchorString()},getHtmlParser:function(){var b=this.htmlParser;return b||(b=this.htmlParser=new a.htmlParser.HtmlParser),b},getMatchParser:function(){var b=this.matchParser;return b||(b=this.matchParser=new a.matchParser.MatchParser({urls:this.urls,email:this.email,twitter:this.twitter,phone:this.phone,hashtag:this.hashtag,stripPrefix:this.stripPrefix})),b},getTagBuilder:function(){var b=this.tagBuilder;return b||(b=this.tagBuilder=new a.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),b}},a.link=function(b,c){var d=new a(c);return d.link(b)},a.match={},a.htmlParser={},a.matchParser={},a.Util={abstractMethod:function(){throw"abstract"},trimRegex:/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,assign:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a},extend:function(b,c){var d=b.prototype,e=function(){};e.prototype=d;var f;f=c.hasOwnProperty("constructor")?c.constructor:function(){d.constructor.apply(this,arguments)};var g=f.prototype=new e;return g.constructor=f,g.superclass=d,delete c.constructor,a.Util.assign(g,c),f},ellipsis:function(a,b,c){return a.length>b&&(c=null==c?"..":c,a=a.substring(0,b-c.length)+c),a},indexOf:function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},splitAndCapture:function(a,b){if(!b.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var c,d=[],e=0;c=b.exec(a);)d.push(a.substring(e,c.index)),d.push(c[0]),e=c.index+c[0].length;return d.push(a.substring(e)),d},trim:function(a){return a.replace(this.trimRegex,"")}},a.HtmlTag=a.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(b){a.Util.assign(this,b),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(a){return this.tagName=a,this},getTagName:function(){return this.tagName||""},setAttr:function(a,b){var c=this.getAttrs();return c[a]=b,this},getAttr:function(a){return this.getAttrs()[a]},setAttrs:function(b){var c=this.getAttrs();return a.Util.assign(c,b),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(a){return this.setAttr("class",a)},addClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);c=h.shift();)-1===f(g,c)&&g.push(c);return this.getAttrs()["class"]=g.join(" "),this},removeClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);g.length&&(c=h.shift());){var i=f(g,c);-1!==i&&g.splice(i,1)}return this.getAttrs()["class"]=g.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(a){return-1!==(" "+this.getClass()+" ").indexOf(" "+a+" ")},setInnerHtml:function(a){return this.innerHtml=a,this},getInnerHtml:function(){return this.innerHtml||""},toAnchorString:function(){var a=this.getTagName(),b=this.buildAttrsStr();return b=b?" "+b:"",["<",a,b,">",this.getInnerHtml(),"</",a,">"].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var a=this.getAttrs(),b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+'="'+a[c]+'"');return b.join(" ")}}),a.AnchorTagBuilder=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},build:function(b){var c=new a.HtmlTag({tagName:"a",attrs:this.createAttrs(b.getType(),b.getAnchorHref()),innerHtml:this.processAnchorText(b.getAnchorText())});return c},createAttrs:function(a,b){var c={href:b},d=this.createCssClass(a);return d&&(c["class"]=d),this.newWindow&&(c.target="_blank"),c},createCssClass:function(a){var b=this.className;return b?b+" "+b+"-"+a:""},processAnchorText:function(a){return a=this.doTruncate(a)},doTruncate:function(b){return a.Util.ellipsis(b,this.truncate||Number.POSITIVE_INFINITY)}}),a.htmlParser.HtmlParser=a.Util.extend(Object,{htmlRegex:function(){var a=/!--([\s\S]+?)--/,b=/[0-9a-zA-Z][0-9a-zA-Z:]*/,c=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,d=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,e=c.source+"(?:\\s*=\\s*"+d.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",e,"|",d.source+")",")*",">",")","|","(?:","<(/)?","(?:",a.source,"|","(?:","("+b.source+")","(?:","\\s+",e,")*","\\s*/?",")",")",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi,parse:function(a){for(var b,c,d=this.htmlRegex,e=0,f=[];null!==(b=d.exec(a));){var g=b[0],h=b[3],i=b[1]||b[4],j=!!b[2],k=a.substring(e,b.index);k&&(c=this.parseTextAndEntityNodes(k),f.push.apply(f,c)),f.push(h?this.createCommentNode(g,h):this.createElementNode(g,i,j)),e=b.index+g.length}if(e<a.length){var l=a.substring(e);l&&(c=this.parseTextAndEntityNodes(l),f.push.apply(f,c))}return f},parseTextAndEntityNodes:function(b){for(var c=[],d=a.Util.splitAndCapture(b,this.htmlCharacterEntitiesRegex),e=0,f=d.length;f>e;e+=2){var g=d[e],h=d[e+1];g&&c.push(this.createTextNode(g)),h&&c.push(this.createEntityNode(h))}return c},createCommentNode:function(b,c){return new a.htmlParser.CommentNode({text:b,comment:a.Util.trim(c)})},createElementNode:function(b,c,d){return new a.htmlParser.ElementNode({text:b,tagName:c.toLowerCase(),closing:d})},createEntityNode:function(b){return new a.htmlParser.EntityNode({text:b})},createTextNode:function(b){return new a.htmlParser.TextNode({text:b})}}),a.htmlParser.HtmlNode=a.Util.extend(Object,{text:"",constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getText:function(){return this.text}}),a.htmlParser.CommentNode=a.Util.extend(a.htmlParser.HtmlNode,{comment:"",getType:function(){return"comment"},getComment:function(){return this.comment}}),a.htmlParser.ElementNode=a.Util.extend(a.htmlParser.HtmlNode,{tagName:"",closing:!1,getType:function(){return"element"},getTagName:function(){return this.tagName},isClosing:function(){return this.closing}}),a.htmlParser.EntityNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"entity"}}),a.htmlParser.TextNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"text"}}),a.matchParser.MatchParser=a.Util.extend(Object,{urls:!0,email:!0,twitter:!0,phone:!0,hashtag:!1,stripPrefix:!0,matcherRegex:function(){var a=/(^|[^\w])@(\w{1,15})/,b=/(^|[^\w])#(\w{1,15})/,c=/(?:[\-;:&=\+\$,\w\.]+@)/,d=/(?:\+?\d{1,3}[-\s.])?\(?\d{3}\)?[-\s.]?\d{3}[-\s.]\d{4}/,e=/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/,f=/(?:www\.)/,g=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,h=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,i=/[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]?!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]]/;return new RegExp(["(",a.source,")","|","(",c.source,g.source,h.source,")","|","(","(?:","(",e.source,g.source,")","|","(?:","(.?//)?",f.source,g.source,")","|","(?:","(.?//)?",g.source,h.source,")",")","(?:"+i.source+")?",")","|","(",d.source,")","|","(",b.source,")"].join(""),"gi")}(),charBeforeProtocolRelMatchRegex:/^(.)?\/\//,constructor:function(b){a.Util.assign(this,b),this.matchValidator=new a.MatchValidator},replace:function(a,b,c){var d=this;return a.replace(this.matcherRegex,function(a,e,f,g,h,i,j,k,l,m,n,o,p){var q=d.processCandidateMatch(a,e,f,g,h,i,j,k,l,m,n,o,p);if(q){var r=b.call(c,q.match);return q.prefixStr+r+q.suffixStr}return a})},processCandidateMatch:function(b,c,d,e,f,g,h,i,j,k,l,m,n){var o,p=i||j,q="",r="";if(g&&!this.urls||f&&!this.email||k&&!this.phone||c&&!this.twitter||l&&!this.hashtag||!this.matchValidator.isValidMatch(g,h,p))return null;if(this.matchHasUnbalancedClosingParen(b))b=b.substr(0,b.length-1),r=")";else{var s=this.matchHasInvalidCharAfterTld(g,h);s>-1&&(r=b.substr(s),b=b.substr(0,s))}if(f)o=new a.match.Email({matchedText:b,email:f});else if(c)d&&(q=d,b=b.slice(1)),o=new a.match.Twitter({matchedText:b,twitterHandle:e});else if(k){var t=b.replace(/\D/g,"");o=new a.match.Phone({matchedText:b,number:t})}else if(l)m&&(q=m,b=b.slice(1)),o=new a.match.Hashtag({matchedText:b,serviceName:this.hashtag,hashtag:n});else{if(p){var u=p.match(this.charBeforeProtocolRelMatchRegex)[1]||"";u&&(q=u,b=b.slice(1))}o=new a.match.Url({matchedText:b,url:b,protocolUrlMatch:!!h,protocolRelativeMatch:!!p,stripPrefix:this.stripPrefix})}return{prefixStr:q,suffixStr:r,match:o}},matchHasUnbalancedClosingParen:function(a){var b=a.charAt(a.length-1);if(")"===b){var c=a.match(/\(/g),d=a.match(/\)/g),e=c&&c.length||0,f=d&&d.length||0;if(f>e)return!0}return!1},matchHasInvalidCharAfterTld:function(a,b){if(!a)return-1;var c=0;b&&(c=a.indexOf(":"),a=a.slice(c));var d=/^((.?\/\/)?[A-Za-z0-9\.\-]*[A-Za-z0-9\-]\.[A-Za-z]+)/,e=d.exec(a);return null===e?-1:(c+=e[1].length,a=a.slice(e[1].length),/^[^.A-Za-z:\/?#]/.test(a)?c:-1)}}),a.MatchValidator=a.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(a,b,c){return b&&!this.isValidUriScheme(b)||this.urlMatchDoesNotHaveProtocolOrDot(a,b)||this.urlMatchDoesNotHaveAtLeastOneWordChar(a,b)||this.isInvalidProtocolRelativeMatch(c)?!1:!0},isValidUriScheme:function(a){var b=a.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==b&&"vbscript:"!==b},urlMatchDoesNotHaveProtocolOrDot:function(a,b){return!(!a||b&&this.hasFullProtocolRegex.test(b)||-1!==a.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(a,b){return a&&b?!this.hasWordCharAfterProtocolRegex.test(a):!1},isInvalidProtocolRelativeMatch:function(a){return!!a&&this.invalidProtocolRelMatchRegex.test(a)}}),a.match.Match=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:a.Util.abstractMethod,getAnchorText:a.Util.abstractMethod}),a.match.Email=a.Util.extend(a.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),a.match.Hashtag=a.Util.extend(a.match.Match,{getType:function(){return"hashtag"},getHashtag:function(){return this.hashtag},getAnchorHref:function(){var a=this.serviceName,b=this.hashtag;switch(a){case"twitter":return"https://twitter.com/hashtag/"+b;case"facebook":return"https://www.facebook.com/hashtag/"+b;default:throw new Error("Unknown service name to point hashtag to: ",a)}},getAnchorText:function(){return"#"+this.hashtag}}),a.match.Phone=a.Util.extend(a.match.Match,{getType:function(){return"phone"},getNumber:function(){return this.number},getAnchorHref:function(){return"tel:"+this.number},getAnchorText:function(){return this.matchedText}}),a.match.Twitter=a.Util.extend(a.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),a.match.Url=a.Util.extend(a.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var a=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(a=this.url="http://"+a,this.protocolPrepended=!0),a},getAnchorHref:function(){var a=this.getUrl();return a.replace(/&amp;/g,"&")},getAnchorText:function(){var a=this.getUrl();return this.protocolRelativeMatch&&(a=this.stripProtocolRelativePrefix(a)),this.stripPrefix&&(a=this.stripUrlPrefix(a)),a=this.removeTrailingSlash(a)},stripUrlPrefix:function(a){return a.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(a){return a.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(a){return"/"===a.charAt(a.length-1)&&(a=a.slice(0,-1)),a}}),a});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_htmlParser_ElementNode({"tagname":"class","name":"Autolinker.htmlParser.ElementNode","autodetected":{},"files":[{"filename":"ElementNode.js","href":"ElementNode.html#Autolinker-htmlParser-ElementNode"}],"extends":"Autolinker.htmlParser.HtmlNode","members":[{"name":"closing","tagname":"cfg","owner":"Autolinker.htmlParser.ElementNode","id":"cfg-closing","meta":{"required":true}},{"name":"tagName","tagname":"cfg","owner":"Autolinker.htmlParser.ElementNode","id":"cfg-tagName","meta":{"required":true}},{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getTagName","tagname":"method","owner":"Autolinker.htmlParser.ElementNode","id":"method-getTagName","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.ElementNode","id":"method-getType","meta":{}},{"name":"isClosing","tagname":"method","owner":"Autolinker.htmlParser.ElementNode","id":"method-isClosing","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.ElementNode","short_doc":"Represents an HTML element node that has been parsed by the Autolinker.htmlParser.HtmlParser. ...","component":false,"superclasses":["Autolinker.htmlParser.HtmlNode"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='docClass'>Autolinker.htmlParser.HtmlNode</a><div class='subclass '><strong>Autolinker.htmlParser.ElementNode</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode' target='_blank'>ElementNode.js</a></div></pre><div class='doc-contents'><p>Represents an HTML element node that has been parsed by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a>.</p>\n\n<p>See this class's superclass (<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>) for more details.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-closing' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-cfg-closing' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-cfg-closing' class='name expandable'>closing</a> : Boolean<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>true if the element (tag) is a closing tag, false if its an opening tag. ...</div><div class='long'><p><code>true</code> if the element (tag) is a closing tag, <code>false</code> if its an opening tag.</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-tagName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-cfg-tagName' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-cfg-tagName' class='name expandable'>tagName</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The name of the tag that was matched. ...</div><div class='long'><p>The name of the tag that was matched.</p>\n<p>Defaults to: <code>&#39;&#39;</code></p></div></div></div><div id='cfg-text' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>, this will be the tag's\ntext.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this will be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>, this will be the text of\nthe HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.ElementNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance, specified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getTagName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-method-getTagName' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-method-getTagName' class='name expandable'>getTagName</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the HTML element's (tag's) name. ...</div><div class='long'><p>Returns the HTML element's (tag's) name. Ex: for an &lt;img&gt; tag, returns \"img\".</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-method-getType\" rel=\"Autolinker.htmlParser.HtmlNode-method-getType\" class=\"docClass\">Autolinker.htmlParser.HtmlNode.getType</a></p></div></div></div><div id='method-isClosing' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-method-isClosing' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-method-isClosing' class='name expandable'>isClosing</a>( <span class='pre'></span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Determines if the HTML element (tag) is a closing tag. ...</div><div class='long'><p>Determines if the HTML element (tag) is a closing tag. Ex: &lt;div&gt; returns\n<code>false</code>, while &lt;/div&gt; returns <code>true</code>.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{}});
Ext.data.JsonP.Autolinker_htmlParser_ElementNode({"tagname":"class","name":"Autolinker.htmlParser.ElementNode","autodetected":{},"files":[{"filename":"ElementNode.js","href":"ElementNode.html#Autolinker-htmlParser-ElementNode"}],"extends":"Autolinker.htmlParser.HtmlNode","members":[{"name":"closing","tagname":"cfg","owner":"Autolinker.htmlParser.ElementNode","id":"cfg-closing","meta":{"required":true}},{"name":"tagName","tagname":"cfg","owner":"Autolinker.htmlParser.ElementNode","id":"cfg-tagName","meta":{"required":true}},{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getTagName","tagname":"method","owner":"Autolinker.htmlParser.ElementNode","id":"method-getTagName","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.ElementNode","id":"method-getType","meta":{}},{"name":"isClosing","tagname":"method","owner":"Autolinker.htmlParser.ElementNode","id":"method-isClosing","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.ElementNode","short_doc":"Represents an HTML element node that has been parsed by the Autolinker.htmlParser.HtmlParser. ...","component":false,"superclasses":["Autolinker.htmlParser.HtmlNode"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='docClass'>Autolinker.htmlParser.HtmlNode</a><div class='subclass '><strong>Autolinker.htmlParser.ElementNode</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode' target='_blank'>ElementNode.js</a></div></pre><div class='doc-contents'><p>Represents an HTML element node that has been parsed by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a>.</p>\n\n<p>See this class's superclass (<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>) for more\ndetails.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-closing' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-cfg-closing' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-cfg-closing' class='name expandable'>closing</a> : Boolean<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>true if the element (tag) is a closing tag, false if its an opening\ntag. ...</div><div class='long'><p><code>true</code> if the element (tag) is a closing tag, <code>false</code> if its an opening\ntag.</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-tagName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-cfg-tagName' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-cfg-tagName' class='name expandable'>tagName</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The name of the tag that was matched. ...</div><div class='long'><p>The name of the tag that was matched.</p>\n<p>Defaults to: <code>&#39;&#39;</code></p></div></div></div><div id='cfg-text' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>,\nthis will be the tag's text.</li>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.CommentNode\" rel=\"Autolinker.htmlParser.CommentNode\" class=\"docClass\">CommentNode</a>,\nthis will be the comment's text.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this\nwill be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>,\nthis will be the text of the HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.ElementNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance,\nspecified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getTagName' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-method-getTagName' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-method-getTagName' class='name expandable'>getTagName</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the HTML element's (tag's) name. ...</div><div class='long'><p>Returns the HTML element's (tag's) name. Ex: for an &lt;img&gt; tag,\nreturns \"img\".</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-method-getType\" rel=\"Autolinker.htmlParser.HtmlNode-method-getType\" class=\"docClass\">Autolinker.htmlParser.HtmlNode.getType</a></p></div></div></div><div id='method-isClosing' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.ElementNode'>Autolinker.htmlParser.ElementNode</span><br/><a href='source/ElementNode.html#Autolinker-htmlParser-ElementNode-method-isClosing' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.ElementNode-method-isClosing' class='name expandable'>isClosing</a>( <span class='pre'></span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Determines if the HTML element (tag) is a closing tag. ...</div><div class='long'><p>Determines if the HTML element (tag) is a closing tag. Ex: &lt;div&gt;\nreturns <code>false</code>, while &lt;/div&gt; returns <code>true</code>.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{}});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_htmlParser_EntityNode({"tagname":"class","name":"Autolinker.htmlParser.EntityNode","autodetected":{},"files":[{"filename":"EntityNode.js","href":"EntityNode.html#Autolinker-htmlParser-EntityNode"}],"extends":"Autolinker.htmlParser.HtmlNode","members":[{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.EntityNode","id":"method-getType","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.EntityNode","short_doc":"Represents a known HTML entity node that has been parsed by the Autolinker.htmlParser.HtmlParser. ...","component":false,"superclasses":["Autolinker.htmlParser.HtmlNode"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='docClass'>Autolinker.htmlParser.HtmlNode</a><div class='subclass '><strong>Autolinker.htmlParser.EntityNode</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/EntityNode.html#Autolinker-htmlParser-EntityNode' target='_blank'>EntityNode.js</a></div></pre><div class='doc-contents'><p>Represents a known HTML entity node that has been parsed by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a>.\nEx: '&amp;nbsp;', or '&amp;amp#160;' (which will be retrievable from the <a href=\"#!/api/Autolinker.htmlParser.EntityNode-method-getText\" rel=\"Autolinker.htmlParser.EntityNode-method-getText\" class=\"docClass\">getText</a> method.</p>\n\n<p>Note that this class will only be returned from the HtmlParser for the set of checked HTML entity nodes\ndefined by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex\" rel=\"Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex\" class=\"docClass\">Autolinker.htmlParser.HtmlParser.htmlCharacterEntitiesRegex</a>.</p>\n\n<p>See this class's superclass (<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>) for more details.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-text' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>, this will be the tag's\ntext.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this will be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>, this will be the text of\nthe HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.EntityNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance, specified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.EntityNode'>Autolinker.htmlParser.EntityNode</span><br/><a href='source/EntityNode.html#Autolinker-htmlParser-EntityNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.EntityNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-method-getType\" rel=\"Autolinker.htmlParser.HtmlNode-method-getType\" class=\"docClass\">Autolinker.htmlParser.HtmlNode.getType</a></p></div></div></div></div></div></div></div>","meta":{}});
Ext.data.JsonP.Autolinker_htmlParser_EntityNode({"tagname":"class","name":"Autolinker.htmlParser.EntityNode","autodetected":{},"files":[{"filename":"EntityNode.js","href":"EntityNode.html#Autolinker-htmlParser-EntityNode"}],"extends":"Autolinker.htmlParser.HtmlNode","members":[{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.EntityNode","id":"method-getType","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.EntityNode","short_doc":"Represents a known HTML entity node that has been parsed by the Autolinker.htmlParser.HtmlParser. ...","component":false,"superclasses":["Autolinker.htmlParser.HtmlNode"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='docClass'>Autolinker.htmlParser.HtmlNode</a><div class='subclass '><strong>Autolinker.htmlParser.EntityNode</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/EntityNode.html#Autolinker-htmlParser-EntityNode' target='_blank'>EntityNode.js</a></div></pre><div class='doc-contents'><p>Represents a known HTML entity node that has been parsed by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a>.\nEx: '&amp;nbsp;', or '&amp;amp#160;' (which will be retrievable from the <a href=\"#!/api/Autolinker.htmlParser.EntityNode-method-getText\" rel=\"Autolinker.htmlParser.EntityNode-method-getText\" class=\"docClass\">getText</a>\nmethod.</p>\n\n<p>Note that this class will only be returned from the HtmlParser for the set of\nchecked HTML entity nodes defined by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex\" rel=\"Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex\" class=\"docClass\">Autolinker.htmlParser.HtmlParser.htmlCharacterEntitiesRegex</a>.</p>\n\n<p>See this class's superclass (<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>) for more\ndetails.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-text' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>,\nthis will be the tag's text.</li>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.CommentNode\" rel=\"Autolinker.htmlParser.CommentNode\" class=\"docClass\">CommentNode</a>,\nthis will be the comment's text.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this\nwill be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>,\nthis will be the text of the HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.EntityNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance,\nspecified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.EntityNode'>Autolinker.htmlParser.EntityNode</span><br/><a href='source/EntityNode.html#Autolinker-htmlParser-EntityNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.EntityNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-method-getType\" rel=\"Autolinker.htmlParser.HtmlNode-method-getType\" class=\"docClass\">Autolinker.htmlParser.HtmlNode.getType</a></p></div></div></div></div></div></div></div>","meta":{}});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_htmlParser_HtmlNode({"tagname":"class","name":"Autolinker.htmlParser.HtmlNode","autodetected":{},"files":[{"filename":"HtmlNode.js","href":"HtmlNode.html#Autolinker-htmlParser-HtmlNode"}],"abstract":true,"members":[{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getType","meta":{"abstract":true}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.HtmlNode","short_doc":"Represents an HTML node found in an input string. ...","component":false,"superclasses":[],"subclasses":["Autolinker.htmlParser.ElementNode","Autolinker.htmlParser.EntityNode","Autolinker.htmlParser.TextNode"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Autolinker.htmlParser.ElementNode' rel='Autolinker.htmlParser.ElementNode' class='docClass'>Autolinker.htmlParser.ElementNode</a></div><div class='dependency'><a href='#!/api/Autolinker.htmlParser.EntityNode' rel='Autolinker.htmlParser.EntityNode' class='docClass'>Autolinker.htmlParser.EntityNode</a></div><div class='dependency'><a href='#!/api/Autolinker.htmlParser.TextNode' rel='Autolinker.htmlParser.TextNode' class='docClass'>Autolinker.htmlParser.TextNode</a></div><h4>Files</h4><div class='dependency'><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode' target='_blank'>HtmlNode.js</a></div></pre><div class='doc-contents'><p>Represents an HTML node found in an input string. An HTML node is one of the following:</p>\n\n<ol>\n<li>An <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>, which represents HTML tags.</li>\n<li>A <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, which represents text outside or within HTML tags.</li>\n<li>A <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>, which represents one of the known HTML\nentities that Autolinker looks for. This includes common ones such as &amp;quot; and &amp;nbsp;</li>\n</ol>\n\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-text' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>, this will be the tag's\ntext.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this will be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>, this will be the text of\nthe HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.HtmlNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance, specified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"><span class='abstract' >abstract</span></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"abstract":true}});
Ext.data.JsonP.Autolinker_htmlParser_HtmlNode({"tagname":"class","name":"Autolinker.htmlParser.HtmlNode","autodetected":{},"files":[{"filename":"HtmlNode.js","href":"HtmlNode.html#Autolinker-htmlParser-HtmlNode"}],"abstract":true,"members":[{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getType","meta":{"abstract":true}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.HtmlNode","short_doc":"Represents an HTML node found in an input string. ...","component":false,"superclasses":[],"subclasses":["Autolinker.htmlParser.CommentNode","Autolinker.htmlParser.ElementNode","Autolinker.htmlParser.EntityNode","Autolinker.htmlParser.TextNode"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Autolinker.htmlParser.CommentNode' rel='Autolinker.htmlParser.CommentNode' class='docClass'>Autolinker.htmlParser.CommentNode</a></div><div class='dependency'><a href='#!/api/Autolinker.htmlParser.ElementNode' rel='Autolinker.htmlParser.ElementNode' class='docClass'>Autolinker.htmlParser.ElementNode</a></div><div class='dependency'><a href='#!/api/Autolinker.htmlParser.EntityNode' rel='Autolinker.htmlParser.EntityNode' class='docClass'>Autolinker.htmlParser.EntityNode</a></div><div class='dependency'><a href='#!/api/Autolinker.htmlParser.TextNode' rel='Autolinker.htmlParser.TextNode' class='docClass'>Autolinker.htmlParser.TextNode</a></div><h4>Files</h4><div class='dependency'><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode' target='_blank'>HtmlNode.js</a></div></pre><div class='doc-contents'><p>Represents an HTML node found in an input string. An HTML node is one of the\nfollowing:</p>\n\n<ol>\n<li>An <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>, which represents\nHTML tags.</li>\n<li>A <a href=\"#!/api/Autolinker.htmlParser.CommentNode\" rel=\"Autolinker.htmlParser.CommentNode\" class=\"docClass\">CommentNode</a>, which represents\nHTML comments.</li>\n<li>A <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, which represents text\noutside or within HTML tags.</li>\n<li>A <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>, which represents\none of the known HTML entities that Autolinker looks for. This includes\ncommon ones such as &amp;quot; and &amp;nbsp;</li>\n</ol>\n\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-text' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>,\nthis will be the tag's text.</li>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.CommentNode\" rel=\"Autolinker.htmlParser.CommentNode\" class=\"docClass\">CommentNode</a>,\nthis will be the comment's text.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this\nwill be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>,\nthis will be the text of the HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.HtmlNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance,\nspecified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlNode'>Autolinker.htmlParser.HtmlNode</span><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"><span class='abstract' >abstract</span></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"abstract":true}});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_htmlParser_HtmlParser({"tagname":"class","name":"Autolinker.htmlParser.HtmlParser","autodetected":{},"files":[{"filename":"HtmlParser.js","href":"HtmlParser.html#Autolinker-htmlParser-HtmlParser"}],"private":true,"extends":null,"members":[{"name":"htmlCharacterEntitiesRegex","tagname":"property","owner":"Autolinker.htmlParser.HtmlParser","id":"property-htmlCharacterEntitiesRegex","meta":{"private":true}},{"name":"htmlRegex","tagname":"property","owner":"Autolinker.htmlParser.HtmlParser","id":"property-htmlRegex","meta":{"private":true}},{"name":"createElementNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createElementNode","meta":{"private":true}},{"name":"createEntityNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createEntityNode","meta":{"private":true}},{"name":"createTextNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createTextNode","meta":{"private":true}},{"name":"parse","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-parse","meta":{}},{"name":"parseTextAndEntityNodes","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-parseTextAndEntityNodes","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.HtmlParser","short_doc":"An HTML parser implementation which simply walks an HTML string and returns an array of\nHtmlNodes that represent the ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser' target='_blank'>HtmlParser.js</a></div></pre><div class='doc-contents'><div class='rounded-box private-box'><p><strong>NOTE:</strong> This is a private utility class for internal use by the framework. Don't rely on its existence.</p></div><p>An HTML parser implementation which simply walks an HTML string and returns an array of\n<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">HtmlNodes</a> that represent the basic HTML structure of the input string.</p>\n\n<p>Autolinker uses this to only link URLs/emails/Twitter handles within text nodes, effectively ignoring / \"walking\naround\" HTML tags.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-htmlCharacterEntitiesRegex' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-property-htmlCharacterEntitiesRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex' class='name expandable'>htmlCharacterEntitiesRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression that matches common HTML character entities. ...</div><div class='long'><p>The regular expression that matches common HTML character entities.</p>\n\n<p>Ignoring &amp; as it could be part of a query string -- handling it separately.</p>\n<p>Defaults to: <code>/(&amp;nbsp;|&amp;#160;|&amp;lt;|&amp;#60;|&amp;gt;|&amp;#62;|&amp;quot;|&amp;#34;|&amp;#39;)/gi</code></p></div></div></div><div id='property-htmlRegex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-property-htmlRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-property-htmlRegex' class='name expandable'>htmlRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression used to pull out HTML tags from a string. ...</div><div class='long'><p>The regular expression used to pull out HTML tags from a string. Handles namespaced HTML tags and\nattribute names, as specified by http://www.w3.org/TR/html-markup/syntax.html.</p>\n\n<p>Capturing groups:</p>\n\n<ol>\n<li>The \"!DOCTYPE\" tag name, if a tag is a &lt;!DOCTYPE&gt; tag.</li>\n<li>If it is an end tag, this group will have the '/'.</li>\n<li>The tag name for all tags (other than the &lt;!DOCTYPE&gt; tag)</li>\n</ol>\n\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-createElementNode' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createElementNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createElementNode' class='name expandable'>createElementNode</a>( <span class='pre'>tagText, tagName, isClosingTag</span> ) : <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">Autolinker.htmlParser.ElementNode</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create an ElementNode. ...</div><div class='long'><p>Factory method to create an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>tagText</span> : String<div class='sub-desc'><p>The full text of the tag (element) that was matched, including its attributes.</p>\n</div></li><li><span class='pre'>tagName</span> : String<div class='sub-desc'><p>The name of the tag. Ex: An &lt;img&gt; tag would be passed to this method as \"img\".</p>\n</div></li><li><span class='pre'>isClosingTag</span> : Boolean<div class='sub-desc'><p><code>true</code> if it's a closing tag, false otherwise.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">Autolinker.htmlParser.ElementNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-createEntityNode' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createEntityNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createEntityNode' class='name expandable'>createEntityNode</a>( <span class='pre'>text</span> ) : <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">Autolinker.htmlParser.EntityNode</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create a EntityNode. ...</div><div class='long'><p>Factory method to create a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text that was matched for the HTML entity (such as '&amp;nbsp;').</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">Autolinker.htmlParser.EntityNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-createTextNode' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createTextNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createTextNode' class='name expandable'>createTextNode</a>( <span class='pre'>text</span> ) : <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">Autolinker.htmlParser.TextNode</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create a TextNode. ...</div><div class='long'><p>Factory method to create a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text that was matched.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">Autolinker.htmlParser.TextNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-parse' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-parse' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-parse' class='name expandable'>parse</a>( <span class='pre'>html</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]<span class=\"signature\"></span></div><div class='description'><div class='short'>Parses an HTML string and returns a simple array of HtmlNodes to represent\nthe HTML structure of the input string. ...</div><div class='long'><p>Parses an HTML string and returns a simple array of <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">HtmlNodes</a> to represent\nthe HTML structure of the input string.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>html</span> : String<div class='sub-desc'><p>The HTML to parse.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-parseTextAndEntityNodes' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-parseTextAndEntityNodes' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-parseTextAndEntityNodes' class='name expandable'>parseTextAndEntityNodes</a>( <span class='pre'>text</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Parses text and HTML entity nodes from a given string. ...</div><div class='long'><p>Parses text and HTML entity nodes from a given string. The input string should not have any HTML tags (elements)\nwithin it.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to parse.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]</span><div class='sub-desc'><p>An array of HtmlNodes to represent the\n <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNodes</a> and <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNodes</a> found.</p>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"private":true}});
Ext.data.JsonP.Autolinker_htmlParser_HtmlParser({"tagname":"class","name":"Autolinker.htmlParser.HtmlParser","autodetected":{},"files":[{"filename":"HtmlParser.js","href":"HtmlParser.html#Autolinker-htmlParser-HtmlParser"}],"private":true,"extends":null,"members":[{"name":"htmlCharacterEntitiesRegex","tagname":"property","owner":"Autolinker.htmlParser.HtmlParser","id":"property-htmlCharacterEntitiesRegex","meta":{"private":true}},{"name":"htmlRegex","tagname":"property","owner":"Autolinker.htmlParser.HtmlParser","id":"property-htmlRegex","meta":{"private":true}},{"name":"createCommentNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createCommentNode","meta":{"private":true}},{"name":"createElementNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createElementNode","meta":{"private":true}},{"name":"createEntityNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createEntityNode","meta":{"private":true}},{"name":"createTextNode","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-createTextNode","meta":{"private":true}},{"name":"parse","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-parse","meta":{}},{"name":"parseTextAndEntityNodes","tagname":"method","owner":"Autolinker.htmlParser.HtmlParser","id":"method-parseTextAndEntityNodes","meta":{"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.HtmlParser","short_doc":"An HTML parser implementation which simply walks an HTML string and returns an array of\nHtmlNodes that represent the ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser' target='_blank'>HtmlParser.js</a></div></pre><div class='doc-contents'><div class='rounded-box private-box'><p><strong>NOTE:</strong> This is a private utility class for internal use by the framework. Don't rely on its existence.</p></div><p>An HTML parser implementation which simply walks an HTML string and returns an array of\n<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">HtmlNodes</a> that represent the basic HTML structure of the input string.</p>\n\n<p>Autolinker uses this to only link URLs/emails/Twitter handles within text nodes, effectively ignoring / \"walking\naround\" HTML tags.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-htmlCharacterEntitiesRegex' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-property-htmlCharacterEntitiesRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex' class='name expandable'>htmlCharacterEntitiesRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression that matches common HTML character entities. ...</div><div class='long'><p>The regular expression that matches common HTML character entities.</p>\n\n<p>Ignoring &amp; as it could be part of a query string -- handling it separately.</p>\n<p>Defaults to: <code>/(&amp;nbsp;|&amp;#160;|&amp;lt;|&amp;#60;|&amp;gt;|&amp;#62;|&amp;quot;|&amp;#34;|&amp;#39;)/gi</code></p></div></div></div><div id='property-htmlRegex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-property-htmlRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-property-htmlRegex' class='name expandable'>htmlRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression used to pull out HTML tags from a string. ...</div><div class='long'><p>The regular expression used to pull out HTML tags from a string. Handles namespaced HTML tags and\nattribute names, as specified by http://www.w3.org/TR/html-markup/syntax.html.</p>\n\n<p>Capturing groups:</p>\n\n<ol>\n<li>The \"!DOCTYPE\" tag name, if a tag is a &lt;!DOCTYPE&gt; tag.</li>\n<li>If it is an end tag, this group will have the '/'.</li>\n<li>If it is a comment tag, this group will hold the comment text (i.e.\nthe text inside the <code>&amp;lt;!--</code> and <code>--&amp;gt;</code>.</li>\n<li>The tag name for all tags (other than the &lt;!DOCTYPE&gt; tag)</li>\n</ol>\n\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-createCommentNode' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createCommentNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createCommentNode' class='name expandable'>createCommentNode</a>( <span class='pre'>tagText, comment</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create an CommentNode. ...</div><div class='long'><p>Factory method to create an <a href=\"#!/api/Autolinker.htmlParser.CommentNode\" rel=\"Autolinker.htmlParser.CommentNode\" class=\"docClass\">CommentNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>tagText</span> : String<div class='sub-desc'><p>The full text of the tag (comment) that was\n matched, including its &lt;!-- and --&gt;.</p>\n</div></li><li><span class='pre'>comment</span> : String<div class='sub-desc'><p>The full text of the comment that was matched.</p>\n</div></li></ul></div></div></div><div id='method-createElementNode' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createElementNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createElementNode' class='name expandable'>createElementNode</a>( <span class='pre'>tagText, tagName, isClosingTag</span> ) : <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">Autolinker.htmlParser.ElementNode</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create an ElementNode. ...</div><div class='long'><p>Factory method to create an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>tagText</span> : String<div class='sub-desc'><p>The full text of the tag (element) that was\n matched, including its attributes.</p>\n</div></li><li><span class='pre'>tagName</span> : String<div class='sub-desc'><p>The name of the tag. Ex: An &lt;img&gt; tag would\n be passed to this method as \"img\".</p>\n</div></li><li><span class='pre'>isClosingTag</span> : Boolean<div class='sub-desc'><p><code>true</code> if it's a closing tag, false\n otherwise.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">Autolinker.htmlParser.ElementNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-createEntityNode' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createEntityNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createEntityNode' class='name expandable'>createEntityNode</a>( <span class='pre'>text</span> ) : <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">Autolinker.htmlParser.EntityNode</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create a EntityNode. ...</div><div class='long'><p>Factory method to create a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text that was matched for the HTML entity (such\n as '&amp;nbsp;').</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">Autolinker.htmlParser.EntityNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-createTextNode' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-createTextNode' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-createTextNode' class='name expandable'>createTextNode</a>( <span class='pre'>text</span> ) : <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">Autolinker.htmlParser.TextNode</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Factory method to create a TextNode. ...</div><div class='long'><p>Factory method to create a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text that was matched.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">Autolinker.htmlParser.TextNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-parse' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-parse' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-parse' class='name expandable'>parse</a>( <span class='pre'>html</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]<span class=\"signature\"></span></div><div class='description'><div class='short'>Parses an HTML string and returns a simple array of HtmlNodes\nto represent the HTML structure of the input string. ...</div><div class='long'><p>Parses an HTML string and returns a simple array of <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">HtmlNodes</a>\nto represent the HTML structure of the input string.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>html</span> : String<div class='sub-desc'><p>The HTML to parse.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-parseTextAndEntityNodes' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.HtmlParser'>Autolinker.htmlParser.HtmlParser</span><br/><a href='source/HtmlParser.html#Autolinker-htmlParser-HtmlParser-method-parseTextAndEntityNodes' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlParser-method-parseTextAndEntityNodes' class='name expandable'>parseTextAndEntityNodes</a>( <span class='pre'>text</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Parses text and HTML entity nodes from a given string. ...</div><div class='long'><p>Parses text and HTML entity nodes from a given string. The input string\nshould not have any HTML tags (elements) within it.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to parse.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>[]</span><div class='sub-desc'><p>An array of HtmlNodes to\n represent the <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNodes</a> and\n <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNodes</a> found.</p>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"private":true}});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_htmlParser_TextNode({"tagname":"class","name":"Autolinker.htmlParser.TextNode","autodetected":{},"files":[{"filename":"TextNode.js","href":"TextNode.html#Autolinker-htmlParser-TextNode"}],"extends":"Autolinker.htmlParser.HtmlNode","members":[{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.TextNode","id":"method-getType","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.TextNode","short_doc":"Represents a text node that has been parsed by the Autolinker.htmlParser.HtmlParser. ...","component":false,"superclasses":["Autolinker.htmlParser.HtmlNode"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='docClass'>Autolinker.htmlParser.HtmlNode</a><div class='subclass '><strong>Autolinker.htmlParser.TextNode</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/TextNode.html#Autolinker-htmlParser-TextNode' target='_blank'>TextNode.js</a></div></pre><div class='doc-contents'><p>Represents a text node that has been parsed by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a>.</p>\n\n<p>See this class's superclass (<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>) for more details.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-text' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>, this will be the tag's\ntext.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this will be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>, this will be the text of\nthe HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.TextNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance, specified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.TextNode'>Autolinker.htmlParser.TextNode</span><br/><a href='source/TextNode.html#Autolinker-htmlParser-TextNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.TextNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-method-getType\" rel=\"Autolinker.htmlParser.HtmlNode-method-getType\" class=\"docClass\">Autolinker.htmlParser.HtmlNode.getType</a></p></div></div></div></div></div></div></div>","meta":{}});
Ext.data.JsonP.Autolinker_htmlParser_TextNode({"tagname":"class","name":"Autolinker.htmlParser.TextNode","autodetected":{},"files":[{"filename":"TextNode.js","href":"TextNode.html#Autolinker-htmlParser-TextNode"}],"extends":"Autolinker.htmlParser.HtmlNode","members":[{"name":"text","tagname":"cfg","owner":"Autolinker.htmlParser.HtmlNode","id":"cfg-text","meta":{"required":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-constructor","meta":{}},{"name":"getText","tagname":"method","owner":"Autolinker.htmlParser.HtmlNode","id":"method-getText","meta":{}},{"name":"getType","tagname":"method","owner":"Autolinker.htmlParser.TextNode","id":"method-getType","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.htmlParser.TextNode","short_doc":"Represents a text node that has been parsed by the Autolinker.htmlParser.HtmlParser. ...","component":false,"superclasses":["Autolinker.htmlParser.HtmlNode"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='docClass'>Autolinker.htmlParser.HtmlNode</a><div class='subclass '><strong>Autolinker.htmlParser.TextNode</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/TextNode.html#Autolinker-htmlParser-TextNode' target='_blank'>TextNode.js</a></div></pre><div class='doc-contents'><p>Represents a text node that has been parsed by the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a>.</p>\n\n<p>See this class's superclass (<a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a>) for more\ndetails.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Required config options</h3><div id='cfg-text' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-cfg-text' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-cfg-text' class='name expandable'>text</a> : String<span class=\"signature\"><span class='required' >required</span></span></div><div class='description'><div class='short'>The original text that was matched for the HtmlNode. ...</div><div class='long'><p>The original text that was matched for the HtmlNode.</p>\n\n<ul>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.ElementNode\" rel=\"Autolinker.htmlParser.ElementNode\" class=\"docClass\">ElementNode</a>,\nthis will be the tag's text.</li>\n<li>In the case of an <a href=\"#!/api/Autolinker.htmlParser.CommentNode\" rel=\"Autolinker.htmlParser.CommentNode\" class=\"docClass\">CommentNode</a>,\nthis will be the comment's text.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.TextNode\" rel=\"Autolinker.htmlParser.TextNode\" class=\"docClass\">TextNode</a>, this\nwill be the text itself.</li>\n<li>In the case of a <a href=\"#!/api/Autolinker.htmlParser.EntityNode\" rel=\"Autolinker.htmlParser.EntityNode\" class=\"docClass\">EntityNode</a>,\nthis will be the text of the HTML entity.</li>\n</ul>\n\n<p>Defaults to: <code>&quot;&quot;</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-constructor' class='name expandable'>Autolinker.htmlParser.TextNode</a>( <span class='pre'>cfg</span> ) : <a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object<div class='sub-desc'><p>The configuration properties for the Match instance,\nspecified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.htmlParser.HtmlNode\" rel=\"Autolinker.htmlParser.HtmlNode\" class=\"docClass\">Autolinker.htmlParser.HtmlNode</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getText' class='member inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Autolinker.htmlParser.HtmlNode' rel='Autolinker.htmlParser.HtmlNode' class='defined-in docClass'>Autolinker.htmlParser.HtmlNode</a><br/><a href='source/HtmlNode.html#Autolinker-htmlParser-HtmlNode-method-getText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.HtmlNode-method-getText' class='name expandable'>getText</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Retrieves the text for the HtmlNode. ...</div><div class='long'><p>Retrieves the <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text\" rel=\"Autolinker.htmlParser.HtmlNode-cfg-text\" class=\"docClass\">text</a> for the HtmlNode.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getType' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.htmlParser.TextNode'>Autolinker.htmlParser.TextNode</span><br/><a href='source/TextNode.html#Autolinker-htmlParser-TextNode-method-getType' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.htmlParser.TextNode-method-getType' class='name expandable'>getType</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a string name for the type of node that this class represents. ...</div><div class='long'><p>Returns a string name for the type of node that this class represents.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/Autolinker.htmlParser.HtmlNode-method-getType\" rel=\"Autolinker.htmlParser.HtmlNode-method-getType\" class=\"docClass\">Autolinker.htmlParser.HtmlNode.getType</a></p></div></div></div></div></div></div></div>","meta":{}});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_matchParser_MatchParser({"tagname":"class","name":"Autolinker.matchParser.MatchParser","autodetected":{},"files":[{"filename":"MatchParser.js","href":"MatchParser.html#Autolinker-matchParser-MatchParser"}],"private":true,"extends":null,"members":[{"name":"email","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-email","meta":{}},{"name":"hashtag","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-hashtag","meta":{}},{"name":"phone","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-phone","meta":{}},{"name":"stripPrefix","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-stripPrefix","meta":{}},{"name":"twitter","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-twitter","meta":{}},{"name":"urls","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-urls","meta":{}},{"name":"charBeforeProtocolRelMatchRegex","tagname":"property","owner":"Autolinker.matchParser.MatchParser","id":"property-charBeforeProtocolRelMatchRegex","meta":{"private":true}},{"name":"matchValidator","tagname":"property","owner":"Autolinker.matchParser.MatchParser","id":"property-matchValidator","meta":{"private":true}},{"name":"matcherRegex","tagname":"property","owner":"Autolinker.matchParser.MatchParser","id":"property-matcherRegex","meta":{"private":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-constructor","meta":{}},{"name":"matchHasUnbalancedClosingParen","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-matchHasUnbalancedClosingParen","meta":{"private":true}},{"name":"processCandidateMatch","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-processCandidateMatch","meta":{"private":true}},{"name":"replace","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-replace","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.matchParser.MatchParser","short_doc":"Used by Autolinker to parse potential matches, given an input string of text. ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser' target='_blank'>MatchParser.js</a></div></pre><div class='doc-contents'><div class='rounded-box private-box'><p><strong>NOTE:</strong> This is a private utility class for internal use by the framework. Don't rely on its existence.</p></div><p>Used by Autolinker to parse potential matches, given an input string of text.</p>\n\n<p>The MatchParser is fed a non-HTML string in order to search for matches.\nAutolinker first uses the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a> to \"walk\naround\" HTML tags, and then the text around the HTML tags is passed into the\nMatchParser in order to find the actual matches.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-email' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-email' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-email' class='name expandable'>email</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if email addresses should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if email addresses should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-hashtag' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-hashtag' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-hashtag' class='name expandable'>hashtag</a> : Boolean/String<span class=\"signature\"></span></div><div class='description'><div class='short'>A string for the service name to have hashtags (ex: \"#myHashtag\")\nauto-linked to. ...</div><div class='long'><p>A string for the service name to have hashtags (ex: \"#myHashtag\")\nauto-linked to. The currently-supported values are:</p>\n\n<ul>\n<li>'twitter'</li>\n<li>'facebook'</li>\n</ul>\n\n\n<p>Pass <code>false</code> to skip auto-linking of hashtags.</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-phone' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-phone' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-phone' class='name expandable'>phone</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if Phone numbers (\"(555)555-5555\") should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if Phone numbers (\"(555)555-5555\") should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-stripPrefix' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-stripPrefix' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-stripPrefix' class='name expandable'>stripPrefix</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if 'http://' or 'https://' and/or the 'www.' should be stripped\nfrom the beginning of URL links' text, false oth...</div><div class='long'><p><code>true</code> if 'http://' or 'https://' and/or the 'www.' should be stripped\nfrom the beginning of URL links' text, <code>false</code> otherwise.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-twitter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-twitter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-twitter' class='name expandable'>twitter</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if Twitter handles (\"@example\") should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if Twitter handles (\"@example\") should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-urls' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-urls' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-urls' class='name expandable'>urls</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if miscellaneous URLs should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if miscellaneous URLs should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-charBeforeProtocolRelMatchRegex' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-property-charBeforeProtocolRelMatchRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-property-charBeforeProtocolRelMatchRegex' class='name expandable'>charBeforeProtocolRelMatchRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression used to retrieve the character before a\nprotocol-relative URL match. ...</div><div class='long'><p>The regular expression used to retrieve the character before a\nprotocol-relative URL match.</p>\n\n<p>This is used in conjunction with the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>, which needs\nto grab the character before a protocol-relative '//' due to the lack of\na negative look-behind in JavaScript regular expressions. The character\nbefore the match is stripped from the URL.</p>\n<p>Defaults to: <code>/^(.)?\\/\\//</code></p></div></div></div><div id='property-matchValidator' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-property-matchValidator' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-property-matchValidator' class='name expandable'>matchValidator</a> : <a href=\"#!/api/Autolinker.MatchValidator\" rel=\"Autolinker.MatchValidator\" class=\"docClass\">Autolinker.MatchValidator</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The MatchValidator object, used to filter out any false positives from\nthe matcherRegex. ...</div><div class='long'><p>The MatchValidator object, used to filter out any false positives from\nthe <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>. See <a href=\"#!/api/Autolinker.MatchValidator\" rel=\"Autolinker.MatchValidator\" class=\"docClass\">Autolinker.MatchValidator</a> for details.</p>\n</div></div></div><div id='property-matcherRegex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-property-matcherRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex' class='name expandable'>matcherRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression that matches URLs, email addresses, phone #s,\nTwitter handles, and Hashtags. ...</div><div class='long'><p>The regular expression that matches URLs, email addresses, phone #s,\nTwitter handles, and Hashtags.</p>\n\n<p>This regular expression has the following capturing groups:</p>\n\n<ol>\n<li>Group that is used to determine if there is a Twitter handle match\n(i.e. \\@someTwitterUser). Simply check for its existence to determine\nif there is a Twitter handle match. The next couple of capturing\ngroups give information about the Twitter handle match.</li>\n<li>The whitespace character before the \\@sign in a Twitter handle. This\nis needed because there are no lookbehinds in JS regular expressions,\nand can be used to reconstruct the original string in a replace().</li>\n<li>The Twitter handle itself in a Twitter match. If the match is\n'@someTwitterUser', the handle is 'someTwitterUser'.</li>\n<li>Group that matches an email address. Used to determine if the match\nis an email address, as well as holding the full address. Ex:\n'me@my.com'</li>\n<li>Group that matches a URL in the input text. Ex: 'http://google.com',\n'www.google.com', or just 'google.com'. This also includes a path,\nurl parameters, or hash anchors. Ex: google.com/path/to/file?q1=1&amp;q2=2#myAnchor</li>\n<li>Group that matches a protocol URL (i.e. 'http://google.com'). This is\nused to match protocol URLs with just a single word, like 'http://localhost',\nwhere we won't double check that the domain name has at least one '.'\nin it.</li>\n<li>A protocol-relative ('//') match for the case of a 'www.' prefixed\nURL. Will be an empty string if it is not a protocol-relative match.\nWe need to know the character before the '//' in order to determine\nif it is a valid match or the // was in a string we don't want to\nauto-link.</li>\n<li>A protocol-relative ('//') match for the case of a known TLD prefixed\nURL. Will be an empty string if it is not a protocol-relative match.\nSee #6 for more info.</li>\n<li>Group that is used to determine if there is a phone number match. The\nnext 3 groups give segments of the phone number.</li>\n<li>Group that is used to determine if there is a Hashtag match\n(i.e. #someHashtag). Simply check for its existence to determine if\nthere is a Hashtag match. The next couple of capturing groups give\ninformation about the Hashtag match.</li>\n<li>The whitespace character before the #sign in a Hashtag handle. This\nis needed because there are no look-behinds in JS regular\nexpressions, and can be used to reconstruct the original string in a\nreplace().</li>\n<li>The Hashtag itself in a Hashtag match. If the match is\n'#someHashtag', the hashtag is 'someHashtag'.</li>\n</ol>\n\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.matchParser.MatchParser-method-constructor' class='name expandable'>Autolinker.matchParser.MatchParser</a>( <span class='pre'>[cfg]</span> ) : <a href=\"#!/api/Autolinker.matchParser.MatchParser\" rel=\"Autolinker.matchParser.MatchParser\" class=\"docClass\">Autolinker.matchParser.MatchParser</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object (optional)<div class='sub-desc'><p>The configuration options for the AnchorTagBuilder\ninstance, specified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.matchParser.MatchParser\" rel=\"Autolinker.matchParser.MatchParser\" class=\"docClass\">Autolinker.matchParser.MatchParser</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-matchHasUnbalancedClosingParen' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-matchHasUnbalancedClosingParen' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-matchHasUnbalancedClosingParen' class='name expandable'>matchHasUnbalancedClosingParen</a>( <span class='pre'>matchStr</span> ) : Boolean<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Determines if a match found has an unmatched closing parenthesis. ...</div><div class='long'><p>Determines if a match found has an unmatched closing parenthesis. If so,\nthis parenthesis will be removed from the match itself, and appended\nafter the generated anchor tag in <a href=\"#!/api/Autolinker.matchParser.MatchParser-method-processCandidateMatch\" rel=\"Autolinker.matchParser.MatchParser-method-processCandidateMatch\" class=\"docClass\">processCandidateMatch</a>.</p>\n\n<p>A match may have an extra closing parenthesis at the end of the match\nbecause the regular expression must include parenthesis for URLs such as\n\"wikipedia.com/something_(disambiguation)\", which should be auto-linked.</p>\n\n<p>However, an extra parenthesis <em>will</em> be included when the URL itself is\nwrapped in parenthesis, such as in the case of \"(wikipedia.com/something_(disambiguation))\".\nIn this case, the last closing parenthesis should <em>not</em> be part of the\nURL itself, and this method will return <code>true</code>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>matchStr</span> : String<div class='sub-desc'><p>The full match string from the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'><p><code>true</code> if there is an unbalanced closing parenthesis at\n the end of the <code>matchStr</code>, <code>false</code> otherwise.</p>\n</div></li></ul></div></div></div><div id='method-processCandidateMatch' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-processCandidateMatch' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-processCandidateMatch' class='name expandable'>processCandidateMatch</a>( <span class='pre'>matchStr, twitterMatch, twitterHandlePrefixWhitespaceChar, twitterHandle, emailAddressMatch, urlMatch, protocolUrlMatch, wwwProtocolRelativeMatch, tldProtocolRelativeMatch, phoneMatch, hashtagMatch, hashtagPrefixWhitespaceChar, hashtag</span> ) : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Processes a candidate match from the matcherRegex. ...</div><div class='long'><p>Processes a candidate match from the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>.</p>\n\n<p>Not all matches found by the regex are actual URL/Email/Phone/Twitter/Hashtag\nmatches, as determined by the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matchValidator\" rel=\"Autolinker.matchParser.MatchParser-property-matchValidator\" class=\"docClass\">matchValidator</a>. In this case, the\nmethod returns <code>null</code>. Otherwise, a valid Object with <code>prefixStr</code>,\n<code>match</code>, and <code>suffixStr</code> is returned.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>matchStr</span> : String<div class='sub-desc'><p>The full match that was found by the\n <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>.</p>\n</div></li><li><span class='pre'>twitterMatch</span> : String<div class='sub-desc'><p>The matched text of a Twitter handle, if the\n match is a Twitter match.</p>\n</div></li><li><span class='pre'>twitterHandlePrefixWhitespaceChar</span> : String<div class='sub-desc'><p>The whitespace char\n before the sign in a Twitter handle match. This is needed because of\n no lookbehinds in JS regexes, and is need to re-include the character\n for the anchor tag replacement.</p>\n</div></li><li><span class='pre'>twitterHandle</span> : String<div class='sub-desc'><p>The actual Twitter user (i.e the word after\n the sign in a Twitter match).</p>\n</div></li><li><span class='pre'>emailAddressMatch</span> : String<div class='sub-desc'><p>The matched email address for an email\n address match.</p>\n</div></li><li><span class='pre'>urlMatch</span> : String<div class='sub-desc'><p>The matched URL string for a URL match.</p>\n</div></li><li><span class='pre'>protocolUrlMatch</span> : String<div class='sub-desc'><p>The match URL string for a protocol\n match. Ex: 'http://yahoo.com'. This is used to match something like\n 'http://localhost', where we won't double check that the domain name\n has at least one '.' in it.</p>\n</div></li><li><span class='pre'>wwwProtocolRelativeMatch</span> : String<div class='sub-desc'><p>The '//' for a protocol-relative\n match from a 'www' url, with the character that comes before the '//'.</p>\n</div></li><li><span class='pre'>tldProtocolRelativeMatch</span> : String<div class='sub-desc'><p>The '//' for a protocol-relative\n match from a TLD (top level domain) match, with the character that\n comes before the '//'.</p>\n</div></li><li><span class='pre'>phoneMatch</span> : String<div class='sub-desc'><p>The matched text of a phone number</p>\n</div></li><li><span class='pre'>hashtagMatch</span> : String<div class='sub-desc'><p>The matched text of a Twitter\n Hashtag, if the match is a Hashtag match.</p>\n</div></li><li><span class='pre'>hashtagPrefixWhitespaceChar</span> : String<div class='sub-desc'><p>The whitespace char\n before the # sign in a Hashtag match. This is needed because of no\n lookbehinds in JS regexes, and is need to re-include the character for\n the anchor tag replacement.</p>\n</div></li><li><span class='pre'>hashtag</span> : String<div class='sub-desc'><p>The actual Hashtag (i.e the word\n after the # sign in a Hashtag match).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>A \"match description object\". This will be <code>null</code> if the\n match was invalid, or if a match type is disabled. Otherwise, this will\n be an Object (map) with the following properties:</p>\n<ul><li><span class='pre'>prefixStr</span> : String<div class='sub-desc'><p>The char(s) that should be prepended to\n the replacement string. These are char(s) that were needed to be\n included from the regex match that were ignored by processing code, and\n should be re-inserted into the replacement stream.</p>\n</div></li><li><span class='pre'>suffixStr</span> : String<div class='sub-desc'><p>The char(s) that should be appended to\n the replacement string. These are char(s) that were needed to be\n included from the regex match that were ignored by processing code, and\n should be re-inserted into the replacement stream.</p>\n</div></li><li><span class='pre'>match</span> : <a href=\"#!/api/Autolinker.match.Match\" rel=\"Autolinker.match.Match\" class=\"docClass\">Autolinker.match.Match</a><div class='sub-desc'><p>The Match object that\n represents the match that was found.</p>\n</div></li></ul></div></li></ul></div></div></div><div id='method-replace' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-replace' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-replace' class='name expandable'>replace</a>( <span class='pre'>text, replaceFn, [contextObj]</span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Parses the input text to search for matches, and calls the replaceFn\nto allow replacements of the matches. ...</div><div class='long'><p>Parses the input <code>text</code> to search for matches, and calls the <code>replaceFn</code>\nto allow replacements of the matches. Returns the <code>text</code> with matches\nreplaced.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to search and repace matches in.</p>\n</div></li><li><span class='pre'>replaceFn</span> : Function<div class='sub-desc'><p>The iterator function to handle the\n replacements. The function takes a single argument, a <a href=\"#!/api/Autolinker.match.Match\" rel=\"Autolinker.match.Match\" class=\"docClass\">Autolinker.match.Match</a>\n object, and should return the text that should make the replacement.</p>\n</div></li><li><span class='pre'>contextObj</span> : Object (optional)<div class='sub-desc'><p>The context object (\"scope\") to run\n the <code>replaceFn</code> in.</p>\n<p>Defaults to: <code>window</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"private":true}});
Ext.data.JsonP.Autolinker_matchParser_MatchParser({"tagname":"class","name":"Autolinker.matchParser.MatchParser","autodetected":{},"files":[{"filename":"MatchParser.js","href":"MatchParser.html#Autolinker-matchParser-MatchParser"}],"private":true,"extends":null,"members":[{"name":"email","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-email","meta":{}},{"name":"hashtag","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-hashtag","meta":{}},{"name":"phone","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-phone","meta":{}},{"name":"stripPrefix","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-stripPrefix","meta":{}},{"name":"twitter","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-twitter","meta":{}},{"name":"urls","tagname":"cfg","owner":"Autolinker.matchParser.MatchParser","id":"cfg-urls","meta":{}},{"name":"charBeforeProtocolRelMatchRegex","tagname":"property","owner":"Autolinker.matchParser.MatchParser","id":"property-charBeforeProtocolRelMatchRegex","meta":{"private":true}},{"name":"matchValidator","tagname":"property","owner":"Autolinker.matchParser.MatchParser","id":"property-matchValidator","meta":{"private":true}},{"name":"matcherRegex","tagname":"property","owner":"Autolinker.matchParser.MatchParser","id":"property-matcherRegex","meta":{"private":true}},{"name":"constructor","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-constructor","meta":{}},{"name":"matchHasInvalidCharAfterTld","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-matchHasInvalidCharAfterTld","meta":{"private":true}},{"name":"matchHasUnbalancedClosingParen","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-matchHasUnbalancedClosingParen","meta":{"private":true}},{"name":"processCandidateMatch","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-processCandidateMatch","meta":{"private":true}},{"name":"replace","tagname":"method","owner":"Autolinker.matchParser.MatchParser","id":"method-replace","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.matchParser.MatchParser","short_doc":"Used by Autolinker to parse potential matches, given an input string of text. ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser' target='_blank'>MatchParser.js</a></div></pre><div class='doc-contents'><div class='rounded-box private-box'><p><strong>NOTE:</strong> This is a private utility class for internal use by the framework. Don't rely on its existence.</p></div><p>Used by Autolinker to parse potential matches, given an input string of text.</p>\n\n<p>The MatchParser is fed a non-HTML string in order to search for matches.\nAutolinker first uses the <a href=\"#!/api/Autolinker.htmlParser.HtmlParser\" rel=\"Autolinker.htmlParser.HtmlParser\" class=\"docClass\">Autolinker.htmlParser.HtmlParser</a> to \"walk\naround\" HTML tags, and then the text around the HTML tags is passed into the\nMatchParser in order to find the actual matches.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-email' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-email' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-email' class='name expandable'>email</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if email addresses should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if email addresses should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-hashtag' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-hashtag' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-hashtag' class='name expandable'>hashtag</a> : Boolean/String<span class=\"signature\"></span></div><div class='description'><div class='short'>A string for the service name to have hashtags (ex: \"#myHashtag\")\nauto-linked to. ...</div><div class='long'><p>A string for the service name to have hashtags (ex: \"#myHashtag\")\nauto-linked to. The currently-supported values are:</p>\n\n<ul>\n<li>'twitter'</li>\n<li>'facebook'</li>\n</ul>\n\n\n<p>Pass <code>false</code> to skip auto-linking of hashtags.</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-phone' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-phone' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-phone' class='name expandable'>phone</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if Phone numbers (\"(555)555-5555\") should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if Phone numbers (\"(555)555-5555\") should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-stripPrefix' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-stripPrefix' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-stripPrefix' class='name expandable'>stripPrefix</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if 'http://' or 'https://' and/or the 'www.' should be stripped\nfrom the beginning of URL links' text, false oth...</div><div class='long'><p><code>true</code> if 'http://' or 'https://' and/or the 'www.' should be stripped\nfrom the beginning of URL links' text, <code>false</code> otherwise.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-twitter' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-twitter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-twitter' class='name expandable'>twitter</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if Twitter handles (\"@example\") should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if Twitter handles (\"@example\") should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-urls' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-cfg-urls' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-cfg-urls' class='name expandable'>urls</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>true if miscellaneous URLs should be automatically linked, false if they should not be. ...</div><div class='long'><p><code>true</code> if miscellaneous URLs should be automatically linked, <code>false</code> if they should not be.</p>\n<p>Defaults to: <code>true</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-charBeforeProtocolRelMatchRegex' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-property-charBeforeProtocolRelMatchRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-property-charBeforeProtocolRelMatchRegex' class='name expandable'>charBeforeProtocolRelMatchRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression used to retrieve the character before a\nprotocol-relative URL match. ...</div><div class='long'><p>The regular expression used to retrieve the character before a\nprotocol-relative URL match.</p>\n\n<p>This is used in conjunction with the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>, which needs\nto grab the character before a protocol-relative '//' due to the lack of\na negative look-behind in JavaScript regular expressions. The character\nbefore the match is stripped from the URL.</p>\n<p>Defaults to: <code>/^(.)?\\/\\//</code></p></div></div></div><div id='property-matchValidator' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-property-matchValidator' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-property-matchValidator' class='name expandable'>matchValidator</a> : <a href=\"#!/api/Autolinker.MatchValidator\" rel=\"Autolinker.MatchValidator\" class=\"docClass\">Autolinker.MatchValidator</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The MatchValidator object, used to filter out any false positives from\nthe matcherRegex. ...</div><div class='long'><p>The MatchValidator object, used to filter out any false positives from\nthe <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>. See <a href=\"#!/api/Autolinker.MatchValidator\" rel=\"Autolinker.MatchValidator\" class=\"docClass\">Autolinker.MatchValidator</a> for details.</p>\n</div></div></div><div id='property-matcherRegex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-property-matcherRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex' class='name expandable'>matcherRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression that matches URLs, email addresses, phone #s,\nTwitter handles, and Hashtags. ...</div><div class='long'><p>The regular expression that matches URLs, email addresses, phone #s,\nTwitter handles, and Hashtags.</p>\n\n<p>This regular expression has the following capturing groups:</p>\n\n<ol>\n<li>Group that is used to determine if there is a Twitter handle match\n(i.e. \\@someTwitterUser). Simply check for its existence to determine\nif there is a Twitter handle match. The next couple of capturing\ngroups give information about the Twitter handle match.</li>\n<li>The whitespace character before the \\@sign in a Twitter handle. This\nis needed because there are no lookbehinds in JS regular expressions,\nand can be used to reconstruct the original string in a replace().</li>\n<li>The Twitter handle itself in a Twitter match. If the match is\n'@someTwitterUser', the handle is 'someTwitterUser'.</li>\n<li>Group that matches an email address. Used to determine if the match\nis an email address, as well as holding the full address. Ex:\n'me@my.com'</li>\n<li>Group that matches a URL in the input text. Ex: 'http://google.com',\n'www.google.com', or just 'google.com'. This also includes a path,\nurl parameters, or hash anchors. Ex: google.com/path/to/file?q1=1&amp;q2=2#myAnchor</li>\n<li>Group that matches a protocol URL (i.e. 'http://google.com'). This is\nused to match protocol URLs with just a single word, like 'http://localhost',\nwhere we won't double check that the domain name has at least one '.'\nin it.</li>\n<li>A protocol-relative ('//') match for the case of a 'www.' prefixed\nURL. Will be an empty string if it is not a protocol-relative match.\nWe need to know the character before the '//' in order to determine\nif it is a valid match or the // was in a string we don't want to\nauto-link.</li>\n<li>A protocol-relative ('//') match for the case of a known TLD prefixed\nURL. Will be an empty string if it is not a protocol-relative match.\nSee #6 for more info.</li>\n<li>Group that is used to determine if there is a phone number match. The\nnext 3 groups give segments of the phone number.</li>\n<li>Group that is used to determine if there is a Hashtag match\n(i.e. #someHashtag). Simply check for its existence to determine if\nthere is a Hashtag match. The next couple of capturing groups give\ninformation about the Hashtag match.</li>\n<li>The whitespace character before the #sign in a Hashtag handle. This\nis needed because there are no look-behinds in JS regular\nexpressions, and can be used to reconstruct the original string in a\nreplace().</li>\n<li>The Hashtag itself in a Hashtag match. If the match is\n'#someHashtag', the hashtag is 'someHashtag'.</li>\n</ol>\n\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Autolinker.matchParser.MatchParser-method-constructor' class='name expandable'>Autolinker.matchParser.MatchParser</a>( <span class='pre'>[cfg]</span> ) : <a href=\"#!/api/Autolinker.matchParser.MatchParser\" rel=\"Autolinker.matchParser.MatchParser\" class=\"docClass\">Autolinker.matchParser.MatchParser</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cfg</span> : Object (optional)<div class='sub-desc'><p>The configuration options for the AnchorTagBuilder\ninstance, specified in an Object (map).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Autolinker.matchParser.MatchParser\" rel=\"Autolinker.matchParser.MatchParser\" class=\"docClass\">Autolinker.matchParser.MatchParser</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-matchHasInvalidCharAfterTld' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-matchHasInvalidCharAfterTld' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-matchHasInvalidCharAfterTld' class='name expandable'>matchHasInvalidCharAfterTld</a>( <span class='pre'>urlMatch, protocolUrlMatch</span> ) : Number<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Determine if there's an invalid character after the TLD in a URL. ...</div><div class='long'><p>Determine if there's an invalid character after the TLD in a URL. Valid\ncharacters after TLD are ':/?#'. Exclude protocol matched URLs from this\ncheck.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>urlMatch</span> : String<div class='sub-desc'><p>The matched URL, if there was one. Will be an\n empty string if the match is not a URL match.</p>\n</div></li><li><span class='pre'>protocolUrlMatch</span> : String<div class='sub-desc'><p>The match URL string for a protocol\n match. Ex: 'http://yahoo.com'. This is used to match something like\n 'http://localhost', where we won't double check that the domain name\n has at least one '.' in it.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>the position where the invalid character was found. If\n no such character was found, returns -1</p>\n</div></li></ul></div></div></div><div id='method-matchHasUnbalancedClosingParen' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-matchHasUnbalancedClosingParen' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-matchHasUnbalancedClosingParen' class='name expandable'>matchHasUnbalancedClosingParen</a>( <span class='pre'>matchStr</span> ) : Boolean<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Determines if a match found has an unmatched closing parenthesis. ...</div><div class='long'><p>Determines if a match found has an unmatched closing parenthesis. If so,\nthis parenthesis will be removed from the match itself, and appended\nafter the generated anchor tag in <a href=\"#!/api/Autolinker.matchParser.MatchParser-method-processCandidateMatch\" rel=\"Autolinker.matchParser.MatchParser-method-processCandidateMatch\" class=\"docClass\">processCandidateMatch</a>.</p>\n\n<p>A match may have an extra closing parenthesis at the end of the match\nbecause the regular expression must include parenthesis for URLs such as\n\"wikipedia.com/something_(disambiguation)\", which should be auto-linked.</p>\n\n<p>However, an extra parenthesis <em>will</em> be included when the URL itself is\nwrapped in parenthesis, such as in the case of \"(wikipedia.com/something_(disambiguation))\".\nIn this case, the last closing parenthesis should <em>not</em> be part of the\nURL itself, and this method will return <code>true</code>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>matchStr</span> : String<div class='sub-desc'><p>The full match string from the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'><p><code>true</code> if there is an unbalanced closing parenthesis at\n the end of the <code>matchStr</code>, <code>false</code> otherwise.</p>\n</div></li></ul></div></div></div><div id='method-processCandidateMatch' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-processCandidateMatch' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-processCandidateMatch' class='name expandable'>processCandidateMatch</a>( <span class='pre'>matchStr, twitterMatch, twitterHandlePrefixWhitespaceChar, twitterHandle, emailAddressMatch, urlMatch, protocolUrlMatch, wwwProtocolRelativeMatch, tldProtocolRelativeMatch, phoneMatch, hashtagMatch, hashtagPrefixWhitespaceChar, hashtag</span> ) : Object<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Processes a candidate match from the matcherRegex. ...</div><div class='long'><p>Processes a candidate match from the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>.</p>\n\n<p>Not all matches found by the regex are actual URL/Email/Phone/Twitter/Hashtag\nmatches, as determined by the <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matchValidator\" rel=\"Autolinker.matchParser.MatchParser-property-matchValidator\" class=\"docClass\">matchValidator</a>. In this case, the\nmethod returns <code>null</code>. Otherwise, a valid Object with <code>prefixStr</code>,\n<code>match</code>, and <code>suffixStr</code> is returned.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>matchStr</span> : String<div class='sub-desc'><p>The full match that was found by the\n <a href=\"#!/api/Autolinker.matchParser.MatchParser-property-matcherRegex\" rel=\"Autolinker.matchParser.MatchParser-property-matcherRegex\" class=\"docClass\">matcherRegex</a>.</p>\n</div></li><li><span class='pre'>twitterMatch</span> : String<div class='sub-desc'><p>The matched text of a Twitter handle, if the\n match is a Twitter match.</p>\n</div></li><li><span class='pre'>twitterHandlePrefixWhitespaceChar</span> : String<div class='sub-desc'><p>The whitespace char\n before the sign in a Twitter handle match. This is needed because of\n no lookbehinds in JS regexes, and is need to re-include the character\n for the anchor tag replacement.</p>\n</div></li><li><span class='pre'>twitterHandle</span> : String<div class='sub-desc'><p>The actual Twitter user (i.e the word after\n the sign in a Twitter match).</p>\n</div></li><li><span class='pre'>emailAddressMatch</span> : String<div class='sub-desc'><p>The matched email address for an email\n address match.</p>\n</div></li><li><span class='pre'>urlMatch</span> : String<div class='sub-desc'><p>The matched URL string for a URL match.</p>\n</div></li><li><span class='pre'>protocolUrlMatch</span> : String<div class='sub-desc'><p>The match URL string for a protocol\n match. Ex: 'http://yahoo.com'. This is used to match something like\n 'http://localhost', where we won't double check that the domain name\n has at least one '.' in it.</p>\n</div></li><li><span class='pre'>wwwProtocolRelativeMatch</span> : String<div class='sub-desc'><p>The '//' for a protocol-relative\n match from a 'www' url, with the character that comes before the '//'.</p>\n</div></li><li><span class='pre'>tldProtocolRelativeMatch</span> : String<div class='sub-desc'><p>The '//' for a protocol-relative\n match from a TLD (top level domain) match, with the character that\n comes before the '//'.</p>\n</div></li><li><span class='pre'>phoneMatch</span> : String<div class='sub-desc'><p>The matched text of a phone number</p>\n</div></li><li><span class='pre'>hashtagMatch</span> : String<div class='sub-desc'><p>The matched text of a Twitter\n Hashtag, if the match is a Hashtag match.</p>\n</div></li><li><span class='pre'>hashtagPrefixWhitespaceChar</span> : String<div class='sub-desc'><p>The whitespace char\n before the # sign in a Hashtag match. This is needed because of no\n lookbehinds in JS regexes, and is need to re-include the character for\n the anchor tag replacement.</p>\n</div></li><li><span class='pre'>hashtag</span> : String<div class='sub-desc'><p>The actual Hashtag (i.e the word\n after the # sign in a Hashtag match).</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>A \"match description object\". This will be <code>null</code> if the\n match was invalid, or if a match type is disabled. Otherwise, this will\n be an Object (map) with the following properties:</p>\n<ul><li><span class='pre'>prefixStr</span> : String<div class='sub-desc'><p>The char(s) that should be prepended to\n the replacement string. These are char(s) that were needed to be\n included from the regex match that were ignored by processing code, and\n should be re-inserted into the replacement stream.</p>\n</div></li><li><span class='pre'>suffixStr</span> : String<div class='sub-desc'><p>The char(s) that should be appended to\n the replacement string. These are char(s) that were needed to be\n included from the regex match that were ignored by processing code, and\n should be re-inserted into the replacement stream.</p>\n</div></li><li><span class='pre'>match</span> : <a href=\"#!/api/Autolinker.match.Match\" rel=\"Autolinker.match.Match\" class=\"docClass\">Autolinker.match.Match</a><div class='sub-desc'><p>The Match object that\n represents the match that was found.</p>\n</div></li></ul></div></li></ul></div></div></div><div id='method-replace' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.matchParser.MatchParser'>Autolinker.matchParser.MatchParser</span><br/><a href='source/MatchParser.html#Autolinker-matchParser-MatchParser-method-replace' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.matchParser.MatchParser-method-replace' class='name expandable'>replace</a>( <span class='pre'>text, replaceFn, [contextObj]</span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Parses the input text to search for matches, and calls the replaceFn\nto allow replacements of the matches. ...</div><div class='long'><p>Parses the input <code>text</code> to search for matches, and calls the <code>replaceFn</code>\nto allow replacements of the matches. Returns the <code>text</code> with matches\nreplaced.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to search and repace matches in.</p>\n</div></li><li><span class='pre'>replaceFn</span> : Function<div class='sub-desc'><p>The iterator function to handle the\n replacements. The function takes a single argument, a <a href=\"#!/api/Autolinker.match.Match\" rel=\"Autolinker.match.Match\" class=\"docClass\">Autolinker.match.Match</a>\n object, and should return the text that should make the replacement.</p>\n</div></li><li><span class='pre'>contextObj</span> : Object (optional)<div class='sub-desc'><p>The context object (\"scope\") to run\n the <code>replaceFn</code> in.</p>\n<p>Defaults to: <code>window</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"private":true}});

@@ -1,1 +0,1 @@

Ext.data.JsonP.Autolinker_Util({"tagname":"class","name":"Autolinker.Util","autodetected":{"members":true},"files":[{"filename":"Util.js","href":"Util.html#Autolinker-Util"}],"singleton":true,"members":[{"name":"abstractMethod","tagname":"property","owner":"Autolinker.Util","id":"property-abstractMethod","meta":{}},{"name":"assign","tagname":"method","owner":"Autolinker.Util","id":"method-assign","meta":{}},{"name":"ellipsis","tagname":"method","owner":"Autolinker.Util","id":"method-ellipsis","meta":{}},{"name":"extend","tagname":"method","owner":"Autolinker.Util","id":"method-extend","meta":{}},{"name":"indexOf","tagname":"method","owner":"Autolinker.Util","id":"method-indexOf","meta":{}},{"name":"splitAndCapture","tagname":"method","owner":"Autolinker.Util","id":"method-splitAndCapture","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.Util","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/Util.html#Autolinker-Util' target='_blank'>Util.js</a></div></pre><div class='doc-contents'><p>A few utility methods for Autolinker.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-abstractMethod' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-property-abstractMethod' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-property-abstractMethod' class='name expandable'>abstractMethod</a> : Function<span class=\"signature\"></span></div><div class='description'><div class='short'><p>A function object which represents an abstract method.</p>\n</div><div class='long'><p>A function object which represents an abstract method.</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-assign' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-assign' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-assign' class='name expandable'>assign</a>( <span class='pre'>dest, src</span> ) : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>Assigns (shallow copies) the properties of src onto dest. ...</div><div class='long'><p>Assigns (shallow copies) the properties of <code>src</code> onto <code>dest</code>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>dest</span> : Object<div class='sub-desc'><p>The destination object.</p>\n</div></li><li><span class='pre'>src</span> : Object<div class='sub-desc'><p>The source object.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>The destination object (<code>dest</code>)</p>\n</div></li></ul></div></div></div><div id='method-ellipsis' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-ellipsis' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-ellipsis' class='name expandable'>ellipsis</a>( <span class='pre'>str, truncateLen, [ellipsisChars]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Truncates the str at len - ellipsisChars.length, and adds the ellipsisChars to the\nend of the string (by default, two...</div><div class='long'><p>Truncates the <code>str</code> at <code>len - ellipsisChars.length</code>, and adds the <code>ellipsisChars</code> to the\nend of the string (by default, two periods: '..'). If the <code>str</code> length does not exceed\n<code>len</code>, the string will be returned unchanged.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>str</span> : String<div class='sub-desc'><p>The string to truncate and add an ellipsis to.</p>\n</div></li><li><span class='pre'>truncateLen</span> : Number<div class='sub-desc'><p>The length to truncate the string at.</p>\n</div></li><li><span class='pre'>ellipsisChars</span> : String (optional)<div class='sub-desc'><p>The ellipsis character(s) to add to the end of <code>str</code>\n when truncated. Defaults to '..'</p>\n<p>Defaults to: <code>..</code></p></div></li></ul></div></div></div><div id='method-extend' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-extend' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-extend' class='name expandable'>extend</a>( <span class='pre'>superclass, protoProps</span> ) : Function<span class=\"signature\"></span></div><div class='description'><div class='short'>Extends superclass to create a new subclass, adding the protoProps to the new subclass's prototype. ...</div><div class='long'><p>Extends <code>superclass</code> to create a new subclass, adding the <code>protoProps</code> to the new subclass's prototype.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>superclass</span> : Function<div class='sub-desc'><p>The constructor function for the superclass.</p>\n</div></li><li><span class='pre'>protoProps</span> : Object<div class='sub-desc'><p>The methods/properties to add to the subclass's prototype. This may contain the\n special property <code>constructor</code>, which will be used as the new subclass's constructor function.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Function</span><div class='sub-desc'><p>The new subclass function.</p>\n</div></li></ul></div></div></div><div id='method-indexOf' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-indexOf' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-indexOf' class='name expandable'>indexOf</a>( <span class='pre'>arr, element</span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>Supports Array.prototype.indexOf() functionality for old IE (IE8 and below). ...</div><div class='long'><p>Supports <code>Array.prototype.indexOf()</code> functionality for old IE (IE8 and below).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>arr</span> : Array<div class='sub-desc'><p>The array to find an element of.</p>\n</div></li><li><span class='pre'>element</span> : *<div class='sub-desc'><p>The element to find in the array, and return the index of.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>The index of the <code>element</code>, or -1 if it was not found.</p>\n</div></li></ul></div></div></div><div id='method-splitAndCapture' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-splitAndCapture' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-splitAndCapture' class='name expandable'>splitAndCapture</a>( <span class='pre'>str, splitRegex</span> ) : String[]<span class=\"signature\"></span></div><div class='description'><div class='short'>Performs the functionality of what modern browsers do when String.prototype.split() is called\nwith a regular expressi...</div><div class='long'><p>Performs the functionality of what modern browsers do when <code>String.prototype.split()</code> is called\nwith a regular expression that contains capturing parenthesis.</p>\n\n<p>For example:</p>\n\n<pre><code>// Modern browsers: \n\"a,b,c\".split( /(,)/ ); // --&gt; [ 'a', ',', 'b', ',', 'c' ]\n\n// Old IE (including IE8):\n\"a,b,c\".split( /(,)/ ); // --&gt; [ 'a', 'b', 'c' ]\n</code></pre>\n\n<p>This method emulates the functionality of modern browsers for the old IE case.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>str</span> : String<div class='sub-desc'><p>The string to split.</p>\n</div></li><li><span class='pre'>splitRegex</span> : RegExp<div class='sub-desc'><p>The regular expression to split the input <code>str</code> on. The splitting\n character(s) will be spliced into the array, as in the \"modern browsers\" example in the\n description of this method.\n Note #1: the supplied regular expression <strong>must</strong> have the 'g' flag specified.\n Note #2: for simplicity's sake, the regular expression does not need\n to contain capturing parenthesis - it will be assumed that any match has them.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>String[]</span><div class='sub-desc'><p>The split array of strings, with the splitting character(s) included.</p>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{}});
Ext.data.JsonP.Autolinker_Util({"tagname":"class","name":"Autolinker.Util","autodetected":{"members":true},"files":[{"filename":"Util.js","href":"Util.html#Autolinker-Util"}],"singleton":true,"members":[{"name":"abstractMethod","tagname":"property","owner":"Autolinker.Util","id":"property-abstractMethod","meta":{}},{"name":"trimRegex","tagname":"property","owner":"Autolinker.Util","id":"property-trimRegex","meta":{"private":true}},{"name":"assign","tagname":"method","owner":"Autolinker.Util","id":"method-assign","meta":{}},{"name":"ellipsis","tagname":"method","owner":"Autolinker.Util","id":"method-ellipsis","meta":{}},{"name":"extend","tagname":"method","owner":"Autolinker.Util","id":"method-extend","meta":{}},{"name":"indexOf","tagname":"method","owner":"Autolinker.Util","id":"method-indexOf","meta":{}},{"name":"splitAndCapture","tagname":"method","owner":"Autolinker.Util","id":"method-splitAndCapture","meta":{}},{"name":"trim","tagname":"method","owner":"Autolinker.Util","id":"method-trim","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Autolinker.Util","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/Util.html#Autolinker-Util' target='_blank'>Util.js</a></div></pre><div class='doc-contents'><p>A few utility methods for Autolinker.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-abstractMethod' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-property-abstractMethod' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-property-abstractMethod' class='name expandable'>abstractMethod</a> : Function<span class=\"signature\"></span></div><div class='description'><div class='short'><p>A function object which represents an abstract method.</p>\n</div><div class='long'><p>A function object which represents an abstract method.</p>\n</div></div></div><div id='property-trimRegex' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-property-trimRegex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-property-trimRegex' class='name expandable'>trimRegex</a> : RegExp<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>The regular expression used to trim the leading and trailing whitespace\nfrom a string. ...</div><div class='long'><p>The regular expression used to trim the leading and trailing whitespace\nfrom a string.</p>\n<p>Defaults to: <code>/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-assign' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-assign' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-assign' class='name expandable'>assign</a>( <span class='pre'>dest, src</span> ) : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>Assigns (shallow copies) the properties of src onto dest. ...</div><div class='long'><p>Assigns (shallow copies) the properties of <code>src</code> onto <code>dest</code>.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>dest</span> : Object<div class='sub-desc'><p>The destination object.</p>\n</div></li><li><span class='pre'>src</span> : Object<div class='sub-desc'><p>The source object.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>The destination object (<code>dest</code>)</p>\n</div></li></ul></div></div></div><div id='method-ellipsis' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-ellipsis' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-ellipsis' class='name expandable'>ellipsis</a>( <span class='pre'>str, truncateLen, [ellipsisChars]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Truncates the str at len - ellipsisChars.length, and adds the ellipsisChars to the\nend of the string (by default, two...</div><div class='long'><p>Truncates the <code>str</code> at <code>len - ellipsisChars.length</code>, and adds the <code>ellipsisChars</code> to the\nend of the string (by default, two periods: '..'). If the <code>str</code> length does not exceed\n<code>len</code>, the string will be returned unchanged.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>str</span> : String<div class='sub-desc'><p>The string to truncate and add an ellipsis to.</p>\n</div></li><li><span class='pre'>truncateLen</span> : Number<div class='sub-desc'><p>The length to truncate the string at.</p>\n</div></li><li><span class='pre'>ellipsisChars</span> : String (optional)<div class='sub-desc'><p>The ellipsis character(s) to add to the end of <code>str</code>\n when truncated. Defaults to '..'</p>\n<p>Defaults to: <code>..</code></p></div></li></ul></div></div></div><div id='method-extend' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-extend' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-extend' class='name expandable'>extend</a>( <span class='pre'>superclass, protoProps</span> ) : Function<span class=\"signature\"></span></div><div class='description'><div class='short'>Extends superclass to create a new subclass, adding the protoProps to the new subclass's prototype. ...</div><div class='long'><p>Extends <code>superclass</code> to create a new subclass, adding the <code>protoProps</code> to the new subclass's prototype.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>superclass</span> : Function<div class='sub-desc'><p>The constructor function for the superclass.</p>\n</div></li><li><span class='pre'>protoProps</span> : Object<div class='sub-desc'><p>The methods/properties to add to the subclass's prototype. This may contain the\n special property <code>constructor</code>, which will be used as the new subclass's constructor function.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Function</span><div class='sub-desc'><p>The new subclass function.</p>\n</div></li></ul></div></div></div><div id='method-indexOf' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-indexOf' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-indexOf' class='name expandable'>indexOf</a>( <span class='pre'>arr, element</span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>Supports Array.prototype.indexOf() functionality for old IE (IE8 and below). ...</div><div class='long'><p>Supports <code>Array.prototype.indexOf()</code> functionality for old IE (IE8 and below).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>arr</span> : Array<div class='sub-desc'><p>The array to find an element of.</p>\n</div></li><li><span class='pre'>element</span> : *<div class='sub-desc'><p>The element to find in the array, and return the index of.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>The index of the <code>element</code>, or -1 if it was not found.</p>\n</div></li></ul></div></div></div><div id='method-splitAndCapture' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-splitAndCapture' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-splitAndCapture' class='name expandable'>splitAndCapture</a>( <span class='pre'>str, splitRegex</span> ) : String[]<span class=\"signature\"></span></div><div class='description'><div class='short'>Performs the functionality of what modern browsers do when String.prototype.split() is called\nwith a regular expressi...</div><div class='long'><p>Performs the functionality of what modern browsers do when <code>String.prototype.split()</code> is called\nwith a regular expression that contains capturing parenthesis.</p>\n\n<p>For example:</p>\n\n<pre><code>// Modern browsers:\n\"a,b,c\".split( /(,)/ ); // --&gt; [ 'a', ',', 'b', ',', 'c' ]\n\n// Old IE (including IE8):\n\"a,b,c\".split( /(,)/ ); // --&gt; [ 'a', 'b', 'c' ]\n</code></pre>\n\n<p>This method emulates the functionality of modern browsers for the old IE case.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>str</span> : String<div class='sub-desc'><p>The string to split.</p>\n</div></li><li><span class='pre'>splitRegex</span> : RegExp<div class='sub-desc'><p>The regular expression to split the input <code>str</code> on. The splitting\n character(s) will be spliced into the array, as in the \"modern browsers\" example in the\n description of this method.\n Note #1: the supplied regular expression <strong>must</strong> have the 'g' flag specified.\n Note #2: for simplicity's sake, the regular expression does not need\n to contain capturing parenthesis - it will be assumed that any match has them.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>String[]</span><div class='sub-desc'><p>The split array of strings, with the splitting character(s) included.</p>\n</div></li></ul></div></div></div><div id='method-trim' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Autolinker.Util'>Autolinker.Util</span><br/><a href='source/Util.html#Autolinker-Util-method-trim' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Autolinker.Util-method-trim' class='name expandable'>trim</a>( <span class='pre'>str</span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Trims the leading and trailing whitespace from a string. ...</div><div class='long'><p>Trims the leading and trailing whitespace from a string.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>str</span> : String<div class='sub-desc'><p>The string to trim.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{}});
{
"name": "autolinker",
"version": "0.17.1",
"version": "0.18.0",
"description": "Utility to automatically link the URLs, email addresses, and Twitter handles in a given block of text/HTML",

@@ -5,0 +5,0 @@ "main": "dist/Autolinker.js",

@@ -281,4 +281,14 @@ # Autolinker.js

## Contributing
Pull requests definitely welcome.
- Make sure to add tests to cover your new functionality/bugfix.
- Run the `grunt` command to build/test (or alternatively, open the `tests/index.html` file to run the tests).
- When committing, please omit checking in the files in the `dist/` folder after building/testing. These are only committed to the repository for users downloading Autolinker via Bower. I will build these files and assign them a version number when merging your PR.
- Please use tabs for indents! Tabs are better for everybody (individuals can set their editors to different tab sizes based on their visual preferences).
## Changelog
See [Releases](https://github.com/gregjacobs/Autolinker.js/releases)

@@ -267,2 +267,4 @@ /**

link : function( textOrHtml ) {
if( !textOrHtml ) { return ""; } // handle `null` and `undefined`
var htmlParser = this.getHtmlParser(),

@@ -269,0 +271,0 @@ htmlNodes = htmlParser.parse( textOrHtml ),

@@ -5,27 +5,29 @@ /*global Autolinker */

* @extends Autolinker.htmlParser.HtmlNode
*
*
* Represents an HTML element node that has been parsed by the {@link Autolinker.htmlParser.HtmlParser}.
*
* See this class's superclass ({@link Autolinker.htmlParser.HtmlNode}) for more details.
*
* See this class's superclass ({@link Autolinker.htmlParser.HtmlNode}) for more
* details.
*/
Autolinker.htmlParser.ElementNode = Autolinker.Util.extend( Autolinker.htmlParser.HtmlNode, {
/**
* @cfg {String} tagName (required)
*
*
* The name of the tag that was matched.
*/
tagName : '',
/**
* @cfg {Boolean} closing (required)
*
* `true` if the element (tag) is a closing tag, `false` if its an opening tag.
*
* `true` if the element (tag) is a closing tag, `false` if its an opening
* tag.
*/
closing : false,
/**
* Returns a string name for the type of node that this class represents.
*
*
* @return {String}

@@ -36,7 +38,8 @@ */

},
/**
* Returns the HTML element's (tag's) name. Ex: for an &lt;img&gt; tag, returns "img".
*
* Returns the HTML element's (tag's) name. Ex: for an &lt;img&gt; tag,
* returns "img".
*
* @return {String}

@@ -47,8 +50,8 @@ */

},
/**
* Determines if the HTML element (tag) is a closing tag. Ex: &lt;div&gt; returns
* `false`, while &lt;/div&gt; returns `true`.
*
* Determines if the HTML element (tag) is a closing tag. Ex: &lt;div&gt;
* returns `false`, while &lt;/div&gt; returns `true`.
*
* @return {Boolean}

@@ -59,3 +62,3 @@ */

}
} );

@@ -5,16 +5,18 @@ /*global Autolinker */

* @extends Autolinker.htmlParser.HtmlNode
*
*
* Represents a known HTML entity node that has been parsed by the {@link Autolinker.htmlParser.HtmlParser}.
* Ex: '&amp;nbsp;', or '&amp#160;' (which will be retrievable from the {@link #getText} method.
*
* Note that this class will only be returned from the HtmlParser for the set of checked HTML entity nodes
* defined by the {@link Autolinker.htmlParser.HtmlParser#htmlCharacterEntitiesRegex}.
*
* See this class's superclass ({@link Autolinker.htmlParser.HtmlNode}) for more details.
* Ex: '&amp;nbsp;', or '&amp#160;' (which will be retrievable from the {@link #getText}
* method.
*
* Note that this class will only be returned from the HtmlParser for the set of
* checked HTML entity nodes defined by the {@link Autolinker.htmlParser.HtmlParser#htmlCharacterEntitiesRegex}.
*
* See this class's superclass ({@link Autolinker.htmlParser.HtmlNode}) for more
* details.
*/
Autolinker.htmlParser.EntityNode = Autolinker.Util.extend( Autolinker.htmlParser.HtmlNode, {
/**
* Returns a string name for the type of node that this class represents.
*
*
* @return {String}

@@ -25,3 +27,3 @@ */

}
} );

@@ -5,29 +5,39 @@ /*global Autolinker */

* @class Autolinker.htmlParser.HtmlNode
*
* Represents an HTML node found in an input string. An HTML node is one of the following:
*
* 1. An {@link Autolinker.htmlParser.ElementNode ElementNode}, which represents HTML tags.
* 2. A {@link Autolinker.htmlParser.TextNode TextNode}, which represents text outside or within HTML tags.
* 3. A {@link Autolinker.htmlParser.EntityNode EntityNode}, which represents one of the known HTML
* entities that Autolinker looks for. This includes common ones such as &amp;quot; and &amp;nbsp;
*
* Represents an HTML node found in an input string. An HTML node is one of the
* following:
*
* 1. An {@link Autolinker.htmlParser.ElementNode ElementNode}, which represents
* HTML tags.
* 2. A {@link Autolinker.htmlParser.CommentNode CommentNode}, which represents
* HTML comments.
* 3. A {@link Autolinker.htmlParser.TextNode TextNode}, which represents text
* outside or within HTML tags.
* 4. A {@link Autolinker.htmlParser.EntityNode EntityNode}, which represents
* one of the known HTML entities that Autolinker looks for. This includes
* common ones such as &amp;quot; and &amp;nbsp;
*/
Autolinker.htmlParser.HtmlNode = Autolinker.Util.extend( Object, {
/**
* @cfg {String} text (required)
*
* The original text that was matched for the HtmlNode.
*
* - In the case of an {@link Autolinker.htmlParser.ElementNode ElementNode}, this will be the tag's
* text.
* - In the case of a {@link Autolinker.htmlParser.TextNode TextNode}, this will be the text itself.
* - In the case of a {@link Autolinker.htmlParser.EntityNode EntityNode}, this will be the text of
* the HTML entity.
*
* The original text that was matched for the HtmlNode.
*
* - In the case of an {@link Autolinker.htmlParser.ElementNode ElementNode},
* this will be the tag's text.
* - In the case of an {@link Autolinker.htmlParser.CommentNode CommentNode},
* this will be the comment's text.
* - In the case of a {@link Autolinker.htmlParser.TextNode TextNode}, this
* will be the text itself.
* - In the case of a {@link Autolinker.htmlParser.EntityNode EntityNode},
* this will be the text of the HTML entity.
*/
text : "",
/**
* @constructor
* @param {Object} cfg The configuration properties for the Match instance, specified in an Object (map).
* @param {Object} cfg The configuration properties for the Match instance,
* specified in an Object (map).
*/

@@ -38,6 +48,6 @@ constructor : function( cfg ) {

/**
* Returns a string name for the type of node that this class represents.
*
*
* @abstract

@@ -47,7 +57,7 @@ * @return {String}

getType : Autolinker.Util.abstractMethod,
/**
* Retrieves the {@link #text} for the HtmlNode.
*
*
* @return {String}

@@ -54,0 +64,0 @@ */

@@ -5,12 +5,13 @@ /*global Autolinker */

* @extends Autolinker.htmlParser.HtmlNode
*
*
* Represents a text node that has been parsed by the {@link Autolinker.htmlParser.HtmlParser}.
*
* See this class's superclass ({@link Autolinker.htmlParser.HtmlNode}) for more details.
*
* See this class's superclass ({@link Autolinker.htmlParser.HtmlNode}) for more
* details.
*/
Autolinker.htmlParser.TextNode = Autolinker.Util.extend( Autolinker.htmlParser.HtmlNode, {
/**
* Returns a string name for the type of node that this class represents.
*
*
* @return {String}

@@ -21,3 +22,3 @@ */

}
} );

@@ -341,2 +341,9 @@ /*global Autolinker */

suffixStr = ")"; // this will be added after the generated <a> tag
} else {
// Handle an invalid character after the TLD
var pos = this.matchHasInvalidCharAfterTld( urlMatch, protocolUrlMatch );
if( pos > -1 ) {
suffixStr = matchStr.substr(pos); // this will be added after the generated <a> tag
matchStr = matchStr.substr( 0, pos ); // remove the trailing invalid chars
}
}

@@ -437,4 +444,46 @@

return false;
},
/**
* Determine if there's an invalid character after the TLD in a URL. Valid
* characters after TLD are ':/?#'. Exclude protocol matched URLs from this
* check.
*
* @private
* @param {String} urlMatch The matched URL, if there was one. Will be an
* empty string if the match is not a URL match.
* @param {String} protocolUrlMatch The match URL string for a protocol
* match. Ex: 'http://yahoo.com'. This is used to match something like
* 'http://localhost', where we won't double check that the domain name
* has at least one '.' in it.
* @return {Number} the position where the invalid character was found. If
* no such character was found, returns -1
*/
matchHasInvalidCharAfterTld : function( urlMatch, protocolUrlMatch ) {
if ( !urlMatch ) {
return -1;
}
var offset = 0;
if ( protocolUrlMatch ) {
offset = urlMatch.indexOf(':');
urlMatch = urlMatch.slice(offset);
}
var re = /^((.?\/\/)?[A-Za-z0-9\.\-]*[A-Za-z0-9\-]\.[A-Za-z]+)/;
var res = re.exec( urlMatch );
if ( res === null ) {
return -1;
}
offset += res[1].length;
urlMatch = urlMatch.slice(res[1].length);
if (/^[^.A-Za-z:\/?#]/.test(urlMatch)) {
return offset;
}
return -1;
}
} );
} );

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc