org.apache.hadoop.yarn.webapp.hamlet
Class HamletImpl.Generic<T extends HamletSpec._>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.Generic<T>
- All Implemented Interfaces:
- HamletSpec._, HamletSpec._Child, HamletSpec._Content, HamletSpec._RawContent, HamletSpec.PCData
- Enclosing class:
- HamletImpl
public class HamletImpl.Generic<T extends HamletSpec._>
- extends HamletImpl.EImp<T>
- implements HamletSpec.PCData
| 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 |
_inline
public HamletImpl.Generic<T> _inline()
_noEndTag
public HamletImpl.Generic<T> _noEndTag()
_pre
public HamletImpl.Generic<T> _pre()
_attr
public HamletImpl.Generic<T> _attr(String name,
String value)
_elem
public HamletImpl.Generic<HamletImpl.Generic<T>> _elem(String name,
EnumSet<HamletImpl.EOpt> opts)
elem
public HamletImpl.Generic<HamletImpl.Generic<T>> elem(String name)
_
public HamletImpl.Generic<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 HamletImpl.Generic<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.