Class HamletImpl.EImp<T extends HamletSpec.__>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp<T>
- Type Parameters:
T- type of the parent (containing) element for the element
- All Implemented Interfaces:
HamletSpec.__,HamletSpec._Child
- Direct Known Subclasses:
Hamlet.A,Hamlet.ABBR,Hamlet.ACRONYM,Hamlet.ADDRESS,Hamlet.AREA,Hamlet.B,Hamlet.BASE,Hamlet.BDO,Hamlet.BLOCKQUOTE,Hamlet.BODY,Hamlet.BR,Hamlet.BUTTON,Hamlet.CAPTION,Hamlet.CITE,Hamlet.CODE,Hamlet.COL,Hamlet.COLGROUP,Hamlet.DD,Hamlet.DEL,Hamlet.DFN,Hamlet.DIV,Hamlet.DL,Hamlet.DT,Hamlet.EM,Hamlet.FIELDSET,Hamlet.FORM,Hamlet.H1,Hamlet.H2,Hamlet.H3,Hamlet.H4,Hamlet.H5,Hamlet.H6,Hamlet.HEAD,Hamlet.HR,Hamlet.HTML,Hamlet.I,Hamlet.IMG,Hamlet.INPUT,Hamlet.INS,Hamlet.KBD,Hamlet.LABEL,Hamlet.LEGEND,Hamlet.LI,Hamlet.LINK,Hamlet.MAP,Hamlet.META,Hamlet.OBJECT,Hamlet.OL,Hamlet.OPTGROUP,Hamlet.OPTION,Hamlet.P,Hamlet.PARAM,Hamlet.PRE,Hamlet.Q,Hamlet.SAMP,Hamlet.SCRIPT,Hamlet.SELECT,Hamlet.SMALL,Hamlet.SPAN,Hamlet.STRONG,Hamlet.STYLE,Hamlet.SUB,Hamlet.SUP,Hamlet.TABLE,Hamlet.TBODY,Hamlet.TD,Hamlet.TEXTAREA,Hamlet.TFOOT,Hamlet.TH,Hamlet.THEAD,Hamlet.TITLE,Hamlet.TR,Hamlet.UL,Hamlet.VAR,HamletImpl.Generic
- Enclosing class:
- HamletImpl
The base class for elements
-
Method Summary
Modifier and TypeMethodDescription__()Finish the current element.protected void_endTag(boolean choice) protected void_inline(boolean choice) protected voidprotected void_pre(boolean choice) protected voidprotected voidprotected voidprotected voidaddMediaAttr(String name, EnumSet<HamletSpec.Media> media) protected voidaddRelAttr(String name, EnumSet<HamletSpec.LinkType> types) protected void
-
Method Details
-
__
Description copied from interface:HamletSpec._ChildFinish the current element.- Specified by:
__in interfaceHamletSpec._Child- Returns:
- the parent element
-
_p
-
_v
-
closeAttrs
protected void closeAttrs() -
addAttr
-
addAttr
-
addMediaAttr
-
addRelAttr
-
_inline
protected void _inline(boolean choice) -
_endTag
protected void _endTag(boolean choice) -
_pre
protected void _pre(boolean choice)
-