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

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


Constructor Summary
Hamlet.BR(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.BR<T> $class(String value)
          space-separated list of classes
 Hamlet.BR<T> $id(String value)
          document-wide unique id
 Hamlet.BR<T> $style(String value)
          associated style info
 Hamlet.BR<T> $title(String value)
          advisory title
 
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.BR

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

$id

public Hamlet.BR<T> $id(String value)
Description copied from interface: HamletSpec.CoreAttrs
document-wide unique id

Specified by:
$id in interface HamletSpec.CoreAttrs
Parameters:
value - the id
Returns:
the current element builder

$class

public Hamlet.BR<T> $class(String value)
Description copied from interface: HamletSpec.CoreAttrs
space-separated list of classes

Specified by:
$class in interface HamletSpec.CoreAttrs
Parameters:
value - the classes
Returns:
the current element builder

$title

public Hamlet.BR<T> $title(String value)
Description copied from interface: HamletSpec.CoreAttrs
advisory title

Specified by:
$title in interface HamletSpec.CoreAttrs
Parameters:
value - the title
Returns:
the current element builder

$style

public Hamlet.BR<T> $style(String value)
Description copied from interface: HamletSpec.CoreAttrs
associated style info

Specified by:
$style in interface HamletSpec.CoreAttrs
Parameters:
value - the style
Returns:
the current element builder


Copyright © 2012 Apache Software Foundation. All Rights Reserved.