|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface HamletSpec.HeadMisc
%head.misc
| Method Summary | |
|---|---|
HamletSpec.LINK |
link()
Add a link element. |
HamletSpec.HeadMisc |
link(String href)
Add a link element. |
HamletSpec.HeadMisc |
meta_http(String header,
String content)
Add a meta element with http-equiv attribute. |
HamletSpec.META |
meta()
Add a meta element. |
HamletSpec.HeadMisc |
meta(String name,
String content)
Add a meta element. |
HamletSpec.STYLE |
style()
Add a style element. |
HamletSpec.HeadMisc |
style(Object... lines)
Add a css style element. |
| Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Script |
|---|
script, script |
| Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Object |
|---|
object, object |
| Method Detail |
|---|
HamletSpec.STYLE style()
HamletSpec.HeadMisc style(Object... lines)
lines - content of the style sheet
HamletSpec.META meta()
HamletSpec.HeadMisc meta(String name,
String content)
meta().$name(name).$content(content)._();
name - of the meta elementcontent - of the meta element
HamletSpec.HeadMisc meta_http(String header,
String content)
meta().$http_equiv(header).$content(content)._();
header - for the http-equiv attributecontent - of the header
HamletSpec.LINK link()
HamletSpec.HeadMisc link(String href)
link("style.css"); is a shortcut of
link().$rel("stylesheet").$type("text/css").$href("style.css")._();
href - of the link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||