HamletSpec.__, HamletSpec._Child, HamletSpec._Content, HamletSpec.I18nAttrs, HamletSpec.STYLEpublic class Hamlet.STYLE<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.STYLE
| Constructor | Description |
|---|---|
STYLE(java.lang.String name,
T parent,
java.util.EnumSet<HamletImpl.EOpt> opts) |
| Modifier and Type | Method | Description |
|---|---|---|
Hamlet.STYLE<T> |
__(java.lang.Object... lines) |
Content of the element
|
Hamlet.STYLE<T> |
$dir(HamletSpec.Dir value) |
direction for weak/neutral text
|
Hamlet.STYLE<T> |
$lang(java.lang.String value) |
language code
|
Hamlet.STYLE<T> |
$media(java.util.EnumSet<HamletSpec.Media> value) |
designed for use with these media
|
Hamlet.STYLE<T> |
$title(java.lang.String value) |
advisory title
|
Hamlet.STYLE<T> |
$type(java.lang.String value) |
content type of style language
|
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait__public STYLE(java.lang.String name,
T parent,
java.util.EnumSet<HamletImpl.EOpt> opts)
public Hamlet.STYLE<T> $type(java.lang.String value)
HamletSpec.STYLE$type in interface HamletSpec.STYLEvalue - the content of the element.public Hamlet.STYLE<T> $media(java.util.EnumSet<HamletSpec.Media> value)
HamletSpec.STYLE$media in interface HamletSpec.STYLEvalue - set of media.public Hamlet.STYLE<T> $title(java.lang.String value)
HamletSpec.STYLE$title in interface HamletSpec.STYLEvalue - the content of the element.public Hamlet.STYLE<T> $lang(java.lang.String value)
HamletSpec.I18nAttrs$lang in interface HamletSpec.I18nAttrsvalue - the codepublic Hamlet.STYLE<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs$dir in interface HamletSpec.I18nAttrsvalue - the HamletSpec.Dir valuepublic Hamlet.STYLE<T> __(java.lang.Object... lines)
HamletSpec._Content__ in interface HamletSpec._Contentlines - of contentCopyright © 2008–2025 Apache Software Foundation. All rights reserved.