public class HamletImpl.Generic<T extends HamletSpec._> extends HamletImpl.EImp<T> implements HamletSpec.PCData
Modifier and Type | Method and Description |
---|---|
HamletImpl.Generic<T> |
_(Object... lines)
Content of the element
|
HamletImpl.Generic<T> |
_attr(String name,
String value) |
HamletImpl.Generic<HamletImpl.Generic<T>> |
_elem(String name,
EnumSet<HamletImpl.EOpt> opts) |
HamletImpl.Generic<T> |
_inline() |
HamletImpl.Generic<T> |
_noEndTag() |
HamletImpl.Generic<T> |
_pre() |
HamletImpl.Generic<T> |
_r(Object... lines)
Raw (no need to be HTML escaped) content
|
HamletImpl.Generic<HamletImpl.Generic<T>> |
elem(String name) |
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_
public HamletImpl.Generic<T> _inline()
public HamletImpl.Generic<T> _noEndTag()
public HamletImpl.Generic<T> _pre()
public HamletImpl.Generic<T> _attr(String name, String value)
public HamletImpl.Generic<HamletImpl.Generic<T>> _elem(String name, EnumSet<HamletImpl.EOpt> opts)
public HamletImpl.Generic<HamletImpl.Generic<T>> elem(String name)
public HamletImpl.Generic<T> _(Object... lines)
HamletSpec._Content
_
in interface HamletSpec._Content
lines
- of contentpublic HamletImpl.Generic<T> _r(Object... lines)
HamletSpec._RawContent
_r
in interface HamletSpec._RawContent
lines
- of contentCopyright © 2008–2019 Apache Software Foundation. All rights reserved.