org.apache.hadoop.yarn.webapp.hamlet
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

public static interface HamletSpec.LINK
extends HamletSpec.Attrs, HamletSpec._Child


Method Summary
 HamletSpec.LINK $href(String uri)
          URI for linked resource
 HamletSpec.LINK $hreflang(String cdata)
          language code
 HamletSpec.LINK $media(EnumSet<HamletSpec.Media> mediaTypes)
          for rendering on these media
 HamletSpec.LINK $media(String mediaTypes)
          for rendering on these media.
 HamletSpec.LINK $rel(EnumSet<HamletSpec.LinkType> linkTypes)
          forward link types
 HamletSpec.LINK $rel(String linkTypes)
          forward link types.
 HamletSpec.LINK $type(String cdata)
          advisory content type
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec.CoreAttrs
$class, $id, $style, $title
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec.I18nAttrs
$dir, $lang
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec.EventsAttrs
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmousemove, $onmouseout, $onmouseover, $onmouseup
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Child
_
 

Method Detail

$href

HamletSpec.LINK $href(String uri)
URI for linked resource

Parameters:
uri - the URI
Returns:
the current element builder

$hreflang

HamletSpec.LINK $hreflang(String cdata)
language code

Parameters:
cdata - the code
Returns:
the current element builder

$type

HamletSpec.LINK $type(String cdata)
advisory content type

Parameters:
cdata - the type
Returns:
the current element builder

$rel

HamletSpec.LINK $rel(EnumSet<HamletSpec.LinkType> linkTypes)
forward link types

Parameters:
linkTypes - the types
Returns:
the current element builder

$rel

HamletSpec.LINK $rel(String linkTypes)
forward link types.

Parameters:
linkTypes - space-separated link types
Returns:
the current element builder

$media

HamletSpec.LINK $media(EnumSet<HamletSpec.Media> mediaTypes)
for rendering on these media

Parameters:
mediaTypes - the media types
Returns:
the current element builder

$media

HamletSpec.LINK $media(String mediaTypes)
for rendering on these media.

Parameters:
mediaTypes - comma-separated list of media
Returns:
the current element builder


Copyright © 2012 Apache Software Foundation. All Rights Reserved.