using afIocusing afBedSheet** Defines a '<link>' tag to be injected into the bottom of your head.** ** @see `https://developer.mozilla.org/en/docs/Web/HTML/Element/link` class LinkTagBuilder { @Inject private FileHandler fileHandlerprivate HtmlElement elementprivate HtmlConditional ieConditionalinternalnew make(|This|in){ in(this)this.element = HtmlElement("link") ieConditional = HtmlConditional(){ element, }}** Sets the 'href' attribute to an external URL.** Returns 'this'. LinkTagBuilder fromExternalUrl(Uri externalUrl){if(externalUrl.host == null)throw ArgErr(ErrMsgs.externalUrlsNeedHost(externalUrl)) element["href"] = externalUrl.toStrreturnthis}** Sets the 'href' attribute to a local URL. ** The URL **must** be mapped by BedSheet's 'FileHandler' service.** The URL is rebuilt to take advantage of any asset caching strategies, such as [Cold Feet]`http://www.fantomfactory.org/pods/afColdFeet`.** Returns 'this'. LinkTagBuilder fromLocalUrl(Uri localUrl){ fileAsset := fileHandler.fromLocalUrl(localUrl)// this adds any ColdFeet digests element["href"] = fileAsset.clientUrl.toStrreturnthis}** Creates a 'href' URL attribute from the given file. ** The file **must** exist on the file system and be mapped by BedSheet's 'FileHandler' service.** The URL is built to take advantage of any asset caching strategies, such as [Cold Feet]`http://www.fantomfactory.org/pods/afColdFeet`.** Returns 'this'. LinkTagBuilder fromServerFile(File serverFile){ fileAsset := fileHandler.fromServerFile(serverFile)// this add any ColdFeet digests element["href"] = fileAsset.clientUrl.toStrreturnthis}** Sets the 'type' attribute.** Returns 'this'. LinkTagBuilder withType(MimeType type){ element["type"] = type.toStrreturnthis}** Sets the 'media' attribute.** Returns 'this'. LinkTagBuilder withMedia(Str media){ element["media"] = mediareturnthis}** Wraps the '<link>' element in a [conditional IE comment]`http://www.quirksmode.org/css/condcom.html`. ** The given 'condition' should be everything in the square brackets. Example:** ** ifIe("if gt IE 6")** ** would render:** ** <!--[if gt IE 6]>** <link src="..." >** <![endif]--> LinkTagBuilder ifIe(Str condition){ ieConditional.condition = condition returnthis}** Sets the 'rel' attribute.** Returns 'this'. LinkTagBuilder withRel(Str rel){ element["rel"] = relreturnthis}** Sets the 'title' attribute.** Returns 'this'. LinkTagBuilder withTitle(Str title){ element["title"] = titlereturnthis}** Sets an arbitrary attribute on the '<link>' element. LinkTagBuilder setAttr(Str name, Str value){ element[name] = valuereturnthis}** Returns an attribute value on the '<link>' element. Str? getAttr(Str name){ element[name]}internal HtmlNode htmlNode(){ ieConditional}}