@Bean(typeName="link") public class Link extends HtmlElementVoid
Constructor and Description |
---|
Link() |
Modifier and Type | Method and Description |
---|---|
Link |
_class(String _class)
class attribute.
|
Link |
crossorigin(String crossorigin)
crossorigin
attribute.
|
Link |
href(Object href)
href attribute.
|
Link |
hreflang(String hreflang)
hreflang
attribute.
|
Link |
id(String id)
id attribute.
|
Link |
media(String media)
media attribute.
|
Link |
rel(String rel)
rel attribute.
|
Link |
sizes(String sizes)
sizes attribute.
|
Link |
style(String style)
style attribute.
|
Link |
type(String type)
type attribute.
|
accesskey, attr, attrUri, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, tabindex, title, toString, translate
public Link()
public final Link crossorigin(String crossorigin)
How the element handles cross-origin requests.
crossorigin
- The new value for this attribute.public final Link href(Object href)
Address of the hyperlink.
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
public final Link hreflang(String hreflang)
Language of the linked resource.
hreflang
- The new value for this attribute.public final Link media(String media)
Applicable media.
media
- The new value for this attribute.public final Link rel(String rel)
Relationship between the document containing the hyperlink and the destination resource.
rel
- The new value for this attribute.public final Link sizes(String sizes)
Sizes of the icons (for rel="icon").
sizes
- The new value for this attribute.public final Link type(String type)
Hint for the type of the referenced resource.
type
- The new value for this attribute.public final Link _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Link id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Link style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.