org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.TITLE<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.TITLE<T>
All Implemented Interfaces:
HamletSpec._, HamletSpec._Child, HamletSpec._Content, HamletSpec._RawContent, HamletSpec.I18nAttrs, HamletSpec.PCData, HamletSpec.TITLE
Enclosing class:
Hamlet

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


Constructor Summary
Hamlet.TITLE(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.TITLE<T> _(Object... lines)
          Content of the element
 Hamlet.TITLE<T> _r(Object... lines)
          Raw (no need to be HTML escaped) content
 Hamlet.TITLE<T> $dir(HamletSpec.Dir value)
          direction for weak/neutral text
 Hamlet.TITLE<T> $lang(String value)
          language code
 
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.TITLE

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

$lang

public Hamlet.TITLE<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.TITLE<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

_

public Hamlet.TITLE<T> _(Object... lines)
Description copied from interface: HamletSpec._Content
Content of the element

Specified by:
_ in interface HamletSpec._Content
Parameters:
lines - of content
Returns:
the current element builder

_r

public Hamlet.TITLE<T> _r(Object... lines)
Description copied from interface: HamletSpec._RawContent
Raw (no need to be HTML escaped) content

Specified by:
_r in interface HamletSpec._RawContent
Parameters:
lines - of content
Returns:
the current element builder


Copyright © 2012 Apache Software Foundation. All Rights Reserved.