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 Details

    • $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

      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

      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