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
value
- the content of the element.public Hamlet.SCRIPT<T> $src(String value)
HamletSpec.SCRIPT
$src
in interface HamletSpec.SCRIPT
value
- the content of the element.public Hamlet.SCRIPT<T> $charset(String value)
HamletSpec.SCRIPT
$charset
in interface HamletSpec.SCRIPT
value
- the content of the element.public Hamlet.SCRIPT<T> $defer(String value)
HamletSpec.SCRIPT
$defer
in interface HamletSpec.SCRIPT
value
- the content of the element.public Hamlet.SCRIPT<T> __(Object... lines)
HamletSpec._Content
__
in interface HamletSpec._Content
lines
- of contentCopyright © 2008–2024 Apache Software Foundation. All rights reserved.