public class Hamlet.HEAD<T extends HamletSpec._> extends HamletImpl.EImp<T> implements HamletSpec.HEAD
| Constructor and Description | 
|---|
| Hamlet.HEAD(String name,
           T parent,
           EnumSet<HamletImpl.EOpt> opts) | 
| Modifier and Type | Method and Description | 
|---|---|
| Hamlet.HEAD<T> | $dir(HamletSpec.Dir value)direction for weak/neutral text | 
| Hamlet.HEAD<T> | $lang(String value)language code | 
| Hamlet.BASE<Hamlet.HEAD<T>> | base()Add a BASE element. | 
| Hamlet.HEAD<T> | base(String href)Add a complete BASE element. | 
| Hamlet.LINK<Hamlet.HEAD<T>> | link()Add a link element. | 
| Hamlet.HEAD<T> | link(String href)Add a link element. | 
| Hamlet.HEAD<T> | meta_http(String header,
         String content)Add a meta element with http-equiv attribute. | 
| Hamlet.META<Hamlet.HEAD<T>> | meta()Add a meta element. | 
| Hamlet.HEAD<T> | meta(String name,
    String content)Add a meta element. | 
| Hamlet.OBJECT<Hamlet.HEAD<T>> | object()Add an object element. | 
| Hamlet.OBJECT<Hamlet.HEAD<T>> | object(String selector)Add an object element. | 
| Hamlet.SCRIPT<Hamlet.HEAD<T>> | script()Add a script element. | 
| Hamlet.HEAD<T> | script(String src)Add a script element | 
| Hamlet.STYLE<Hamlet.HEAD<T>> | style()Add a style element. | 
| Hamlet.HEAD<T> | style(Object... lines)Add a css style element. | 
| Hamlet.TITLE<Hamlet.HEAD<T>> | title()Add a TITLE element. | 
| Hamlet.HEAD<T> | title(String cdata)Add a TITLE element. | 
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_public Hamlet.HEAD(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.HEAD<T> $lang(String value)
HamletSpec.I18nAttrs$lang in interface HamletSpec.I18nAttrsvalue - the codepublic Hamlet.HEAD<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs$dir in interface HamletSpec.I18nAttrsvalue - the HamletSpec.Dir valuepublic Hamlet.BASE<Hamlet.HEAD<T>> base()
HamletSpec._Headbase in interface HamletSpec._Headpublic Hamlet.HEAD<T> base(String href)
HamletSpec._Headbase in interface HamletSpec._Headpublic Hamlet.TITLE<Hamlet.HEAD<T>> title()
HamletSpec._Headtitle in interface HamletSpec._Headpublic Hamlet.HEAD<T> title(String cdata)
HamletSpec._Headtitle in interface HamletSpec._Headcdata - the contentpublic Hamlet.STYLE<Hamlet.HEAD<T>> style()
HamletSpec.HeadMiscstyle in interface HamletSpec.HeadMiscpublic Hamlet.HEAD<T> style(Object... lines)
HamletSpec.HeadMiscstyle in interface HamletSpec.HeadMisclines - content of the style sheetpublic Hamlet.LINK<Hamlet.HEAD<T>> link()
HamletSpec.HeadMisclink in interface HamletSpec.HeadMiscpublic Hamlet.HEAD<T> link(String href)
HamletSpec.HeadMisclink("style.css"); is a shortcut of
 link().$rel("stylesheet").$type("text/css").$href("style.css")._();
 link in interface HamletSpec.HeadMischref - of the linkpublic Hamlet.META<Hamlet.HEAD<T>> meta()
HamletSpec.HeadMiscmeta in interface HamletSpec.HeadMiscpublic Hamlet.HEAD<T> meta(String name, String content)
HamletSpec.HeadMiscmeta().$name(name).$content(content)._();meta in interface HamletSpec.HeadMiscname - of the meta elementcontent - of the meta elementpublic Hamlet.HEAD<T> meta_http(String header, String content)
HamletSpec.HeadMiscmeta().$http_equiv(header).$content(content)._();meta_http in interface HamletSpec.HeadMischeader - for the http-equiv attributecontent - of the headerpublic Hamlet.SCRIPT<Hamlet.HEAD<T>> script()
HamletSpec._Scriptscript in interface HamletSpec._Scriptpublic Hamlet.HEAD<T> script(String src)
HamletSpec._Scriptscript in interface HamletSpec._Scriptsrc - uri of the scriptpublic Hamlet.OBJECT<Hamlet.HEAD<T>> object()
HamletSpec._Objectobject in interface HamletSpec._Objectpublic Hamlet.OBJECT<Hamlet.HEAD<T>> object(String selector)
HamletSpec._Objectobject in interface HamletSpec._Objectselector - as #id.class etc.Copyright © 2018 Apache Software Foundation. All Rights Reserved.