Interface HamletSpec.LINK
- All Superinterfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.I18nAttrs
- All Known Implementing Classes:
Hamlet.LINK
- Enclosing class:
- HamletSpec
-
Method Summary
Modifier and TypeMethodDescriptionURI for linked resourcelanguage codefor rendering on these media.$media(EnumSet<HamletSpec.Media> mediaTypes) for rendering on these mediaforward link types.$rel(EnumSet<HamletSpec.LinkType> linkTypes) forward link typesadvisory content typeMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.CoreAttrs
$class, $id, $style, $titleMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.EventsAttrs
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmousemove, $onmouseout, $onmouseover, $onmouseupMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.I18nAttrs
$dir, $lang
-
Method Details
-
$href
URI for linked resource- Parameters:
uri- the URI- Returns:
- the current element builder
-
$hreflang
language code- Parameters:
cdata- the code- Returns:
- the current element builder
-
$type
advisory content type- Parameters:
cdata- the type- Returns:
- the current element builder
-
$rel
forward link types- Parameters:
linkTypes- the types- Returns:
- the current element builder
-
$rel
forward link types.- Parameters:
linkTypes- space-separated link types- Returns:
- the current element builder
-
$media
for rendering on these media- Parameters:
mediaTypes- the media types- Returns:
- the current element builder
-
$media
for rendering on these media.- Parameters:
mediaTypes- comma-separated list of media- Returns:
- the current element builder
-