org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.META<T extends HamletSpec._>

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
      extended by org.apache.hadoop.yarn.webapp.hamlet.Hamlet.META<T>
All Implemented Interfaces:
HamletSpec._, HamletSpec._Child, HamletSpec.I18nAttrs, HamletSpec.META
Enclosing class:
Hamlet

public class Hamlet.META<T extends HamletSpec._>
extends HamletImpl.EImp<T>
implements HamletSpec.META


Constructor Summary
Hamlet.META(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.META<T> $content(String value)
          associated information
 Hamlet.META<T> $dir(HamletSpec.Dir value)
          direction for weak/neutral text
 Hamlet.META<T> $http_equiv(String value)
          HTTP response header name
 Hamlet.META<T> $lang(String value)
          language code
 Hamlet.META<T> $name(String value)
          metainformation name
 
Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Child
_
 

Constructor Detail

Hamlet.META

public Hamlet.META(String name,
                   T parent,
                   EnumSet<HamletImpl.EOpt> opts)
Method Detail

$http_equiv

public Hamlet.META<T> $http_equiv(String value)
Description copied from interface: HamletSpec.META
HTTP response header name

Specified by:
$http_equiv in interface HamletSpec.META
Returns:
the current element builder

$name

public Hamlet.META<T> $name(String value)
Description copied from interface: HamletSpec.META
metainformation name

Specified by:
$name in interface HamletSpec.META
Returns:
the current element builder

$content

public Hamlet.META<T> $content(String value)
Description copied from interface: HamletSpec.META
associated information

Specified by:
$content in interface HamletSpec.META
Returns:
the current element builder

$lang

public Hamlet.META<T> $lang(String value)
Description copied from interface: HamletSpec.I18nAttrs
language code

Specified by:
$lang in interface HamletSpec.I18nAttrs
Parameters:
value - the code
Returns:
the current element builder

$dir

public Hamlet.META<T> $dir(HamletSpec.Dir value)
Description copied from interface: HamletSpec.I18nAttrs
direction for weak/neutral text

Specified by:
$dir in interface HamletSpec.I18nAttrs
Parameters:
value - the HamletSpec.Dir value
Returns:
the current element builder


Copyright © 2013 Apache Software Foundation. All Rights Reserved.