public class Hamlet.SCRIPT<T extends HamletSpec._> extends HamletImpl.EImp<T> implements HamletSpec.SCRIPT
Constructor and Description |
---|
SCRIPT(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.SCRIPT<T> |
_(Object... lines)
Content of the element
|
Hamlet.SCRIPT<T> |
$charset(String value)
char encoding of linked resource
|
Hamlet.SCRIPT<T> |
$defer(String value)
UA may defer execution of script
|
Hamlet.SCRIPT<T> |
$src(String value)
URI for an external script
|
Hamlet.SCRIPT<T> |
$type(String value)
content type of script language
|
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_
public SCRIPT(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.SCRIPT<T> $type(String value)
HamletSpec.SCRIPT
$type
in interface HamletSpec.SCRIPT
public Hamlet.SCRIPT<T> $src(String value)
HamletSpec.SCRIPT
$src
in interface HamletSpec.SCRIPT
public Hamlet.SCRIPT<T> $charset(String value)
HamletSpec.SCRIPT
$charset
in interface HamletSpec.SCRIPT
public Hamlet.SCRIPT<T> $defer(String value)
HamletSpec.SCRIPT
$defer
in interface HamletSpec.SCRIPT
public Hamlet.SCRIPT<T> _(Object... lines)
HamletSpec._Content
_
in interface HamletSpec._Content
lines
- of contentCopyright © 2008–2019 Apache Software Foundation. All rights reserved.