|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet.Hamlet.HEAD<T>
public class Hamlet.HEAD<T extends HamletSpec._>
| Constructor Summary | |
|---|---|
Hamlet.HEAD(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp |
|---|
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Child |
|---|
_ |
| Constructor Detail |
|---|
public Hamlet.HEAD(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts)
| Method Detail |
|---|
public Hamlet.HEAD<T> $lang(String value)
HamletSpec.I18nAttrs
$lang in interface HamletSpec.I18nAttrsvalue - the code
public Hamlet.HEAD<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir in interface HamletSpec.I18nAttrsvalue - the HamletSpec.Dir value
public Hamlet.BASE<Hamlet.HEAD<T>> base()
HamletSpec._Head
base in interface HamletSpec._Headpublic Hamlet.HEAD<T> base(String href)
HamletSpec._Head
base in interface HamletSpec._Headpublic Hamlet.TITLE<Hamlet.HEAD<T>> title()
HamletSpec._Head
title in interface HamletSpec._Headpublic Hamlet.HEAD<T> title(String cdata)
HamletSpec._Head
title in interface HamletSpec._Headcdata - the content
public Hamlet.STYLE<Hamlet.HEAD<T>> style()
HamletSpec.HeadMisc
style in interface HamletSpec.HeadMiscpublic Hamlet.HEAD<T> style(Object... lines)
HamletSpec.HeadMisc
style in interface HamletSpec.HeadMisclines - content of the style sheet
public Hamlet.LINK<Hamlet.HEAD<T>> link()
HamletSpec.HeadMisc
link 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 link
public Hamlet.META<Hamlet.HEAD<T>> meta()
HamletSpec.HeadMisc
meta in interface HamletSpec.HeadMisc
public 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 element
public 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 header
public Hamlet.SCRIPT<Hamlet.HEAD<T>> script()
HamletSpec._Script
script in interface HamletSpec._Scriptpublic Hamlet.HEAD<T> script(String src)
HamletSpec._Script
script in interface HamletSpec._Scriptsrc - uri of the script
public Hamlet.OBJECT<Hamlet.HEAD<T>> object()
HamletSpec._Object
object in interface HamletSpec._Objectpublic Hamlet.OBJECT<Hamlet.HEAD<T>> object(String selector)
HamletSpec._Object
object in interface HamletSpec._Objectselector - as #id.class etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||