|
||||||||||
| 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.HTML<T>
public class Hamlet.HTML<T extends HamletSpec._>
| Constructor Summary | |
|---|---|
Hamlet.HTML(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts)
|
|
| Method Summary | |
|---|---|
Hamlet.HTML<T> |
_(Class<? extends SubView> cls)
Embed a sub-view. |
Hamlet.HTML<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text |
Hamlet.HTML<T> |
$lang(String value)
language code |
Hamlet.ADDRESS<Hamlet.HTML<T>> |
address()
Add a ADDRESS element. |
Hamlet.HTML<T> |
address(String cdata)
Add a complete ADDRESS element. |
Hamlet.BASE<Hamlet.HTML<T>> |
base()
Add a BASE element. |
Hamlet.HTML<T> |
base(String href)
Add a complete BASE element. |
Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> |
blockquote()
Add a BLOCKQUOTE element. |
Hamlet.BODY<Hamlet.HTML<T>> |
body()
Add a BODY element. |
Hamlet.BODY<Hamlet.HTML<T>> |
body(String selector)
Add a BODY element. |
Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> |
bq()
Alias of blockquote |
Hamlet.DEL<Hamlet.HTML<T>> |
del()
Add a DEL (delete) element. |
Hamlet.HTML<T> |
del(String cdata)
Add a complete DEL element. |
Hamlet.DIV<Hamlet.HTML<T>> |
div()
Add a DIV element. |
Hamlet.DIV<Hamlet.HTML<T>> |
div(String selector)
Add a DIV element. |
Hamlet.DL<Hamlet.HTML<T>> |
dl()
Add a DL (description list) element. |
Hamlet.DL<Hamlet.HTML<T>> |
dl(String selector)
Add a DL element. |
Hamlet.FIELDSET<Hamlet.HTML<T>> |
fieldset()
Add a FIELDSET element. |
Hamlet.FIELDSET<Hamlet.HTML<T>> |
fieldset(String selector)
Add a FIELDSET element. |
Hamlet.FORM<Hamlet.HTML<T>> |
form()
Add a FORM element. |
Hamlet.FORM<Hamlet.HTML<T>> |
form(String selector)
Add a FORM element. |
Hamlet.H1<Hamlet.HTML<T>> |
h1()
Add an H1 element. |
Hamlet.HTML<T> |
h1(String cdata)
Add a complete H1 element. |
Hamlet.HTML<T> |
h1(String selector,
String cdata)
Add a complete H1 element |
Hamlet.H2<Hamlet.HTML<T>> |
h2()
Add an H2 element. |
Hamlet.HTML<T> |
h2(String cdata)
Add a complete H2 element. |
Hamlet.HTML<T> |
h2(String selector,
String cdata)
Add a complete H1 element |
Hamlet.H3<Hamlet.HTML<T>> |
h3()
Add an H3 element. |
Hamlet.HTML<T> |
h3(String cdata)
Add a complete H3 element. |
Hamlet.HTML<T> |
h3(String selector,
String cdata)
Add a complete H1 element |
Hamlet.H4<Hamlet.HTML<T>> |
h4()
Add an H4 element. |
Hamlet.HTML<T> |
h4(String cdata)
Add a complete H4 element. |
Hamlet.HTML<T> |
h4(String selector,
String cdata)
Add a complete H4 element |
Hamlet.H5<Hamlet.HTML<T>> |
h5()
Add an H5 element. |
Hamlet.HTML<T> |
h5(String cdata)
Add a complete H5 element. |
Hamlet.HTML<T> |
h5(String selector,
String cdata)
Add a complete H5 element |
Hamlet.H6<Hamlet.HTML<T>> |
h6()
Add an H6 element. |
Hamlet.HTML<T> |
h6(String cdata)
Add a complete H6 element. |
Hamlet.HTML<T> |
h6(String selector,
String cdata)
Add a complete H6 element. |
Hamlet.HEAD<Hamlet.HTML<T>> |
head()
Add a HEAD element. |
Hamlet.HR<Hamlet.HTML<T>> |
hr()
Add a HR (horizontal rule) element. |
Hamlet.HTML<T> |
hr(String selector)
Add a HR element. |
Hamlet.INS<Hamlet.HTML<T>> |
ins()
Add an INS (insert) element. |
Hamlet.HTML<T> |
ins(String cdata)
Add a complete INS element. |
Hamlet.LINK<Hamlet.HTML<T>> |
link()
Add a link element. |
Hamlet.HTML<T> |
link(String href)
Add a link element. |
Hamlet.HTML<T> |
meta_http(String header,
String content)
Add a meta element with http-equiv attribute. |
Hamlet.META<Hamlet.HTML<T>> |
meta()
Add a meta element. |
Hamlet.HTML<T> |
meta(String name,
String content)
Add a meta element. |
Hamlet.OBJECT<Hamlet.HTML<T>> |
object()
Add an object element. |
Hamlet.OBJECT<Hamlet.HTML<T>> |
object(String selector)
Add an object element. |
Hamlet.OL<Hamlet.HTML<T>> |
ol()
Add a OL (ordered list) element. |
Hamlet.OL<Hamlet.HTML<T>> |
ol(String selector)
Add a OL (ordered list) element. |
Hamlet.P<Hamlet.HTML<T>> |
p()
Add a P (paragraph) element. |
Hamlet.P<Hamlet.HTML<T>> |
p(String selector)
Add a P (paragraph) element. |
Hamlet.PRE<Hamlet.HTML<T>> |
pre()
Add a PRE (preformatted) element. |
Hamlet.PRE<Hamlet.HTML<T>> |
pre(String selector)
Add a PRE (preformatted) element. |
Hamlet.SCRIPT<Hamlet.HTML<T>> |
script()
Add a script element. |
Hamlet.HTML<T> |
script(String src)
Add a script element |
Hamlet.STYLE<Hamlet.HTML<T>> |
style()
Add a style element. |
Hamlet.HTML<T> |
style(Object... lines)
Add a css style element. |
Hamlet.TABLE<Hamlet.HTML<T>> |
table()
Add a TABLE element. |
Hamlet.TABLE<Hamlet.HTML<T>> |
table(String selector)
Add a TABLE element. |
Hamlet.TITLE<Hamlet.HTML<T>> |
title()
Add a TITLE element. |
Hamlet.HTML<T> |
title(String cdata)
Add a TITLE element. |
Hamlet.UL<Hamlet.HTML<T>> |
ul()
Add a UL (unordered list) element. |
Hamlet.UL<Hamlet.HTML<T>> |
ul(String selector)
Add a UL (unordered list) 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 |
| Constructor Detail |
|---|
public Hamlet.HTML(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts)
| Method Detail |
|---|
public Hamlet.HTML<T> $lang(String value)
HamletSpec.I18nAttrs
$lang in interface HamletSpec.I18nAttrsvalue - the code
public Hamlet.HTML<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir in interface HamletSpec.I18nAttrsvalue - the HamletSpec.Dir value
public Hamlet.HEAD<Hamlet.HTML<T>> head()
HamletSpec._Html
head in interface HamletSpec._Htmlpublic Hamlet.BODY<Hamlet.HTML<T>> body()
HamletSpec._Html
body in interface HamletSpec._Htmlpublic Hamlet.BODY<Hamlet.HTML<T>> body(String selector)
HamletSpec._Html
body in interface HamletSpec._Htmlselector - the css selector in the form of (#id)*(.class)*
public Hamlet.BASE<Hamlet.HTML<T>> base()
HamletSpec._Head
base in interface HamletSpec._Headpublic Hamlet.HTML<T> base(String href)
HamletSpec._Head
base in interface HamletSpec._Headpublic Hamlet.TITLE<Hamlet.HTML<T>> title()
HamletSpec._Head
title in interface HamletSpec._Headpublic Hamlet.HTML<T> title(String cdata)
HamletSpec._Head
title in interface HamletSpec._Headcdata - the content
public Hamlet.STYLE<Hamlet.HTML<T>> style()
HamletSpec.HeadMisc
style in interface HamletSpec.HeadMiscpublic Hamlet.HTML<T> style(Object... lines)
HamletSpec.HeadMisc
style in interface HamletSpec.HeadMisclines - content of the style sheet
public Hamlet.LINK<Hamlet.HTML<T>> link()
HamletSpec.HeadMisc
link in interface HamletSpec.HeadMiscpublic Hamlet.HTML<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.HTML<T>> meta()
HamletSpec.HeadMisc
meta in interface HamletSpec.HeadMisc
public Hamlet.HTML<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.HTML<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.HTML<T>> script()
HamletSpec._Script
script in interface HamletSpec._Scriptpublic Hamlet.HTML<T> script(String src)
HamletSpec._Script
script in interface HamletSpec._Scriptsrc - uri of the script
public Hamlet.OBJECT<Hamlet.HTML<T>> object()
HamletSpec._Object
object in interface HamletSpec._Objectpublic Hamlet.OBJECT<Hamlet.HTML<T>> object(String selector)
HamletSpec._Object
object in interface HamletSpec._Objectselector - as #id.class etc.
public Hamlet.TABLE<Hamlet.HTML<T>> table()
HamletSpec._Block
table in interface HamletSpec._Blockpublic Hamlet.TABLE<Hamlet.HTML<T>> table(String selector)
HamletSpec._Block
table in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.HTML<T> address(String cdata)
HamletSpec._Block
address in interface HamletSpec._Blockcdata - the content
public Hamlet.ADDRESS<Hamlet.HTML<T>> address()
HamletSpec._Block
address in interface HamletSpec._Blockpublic Hamlet.P<Hamlet.HTML<T>> p(String selector)
HamletSpec._Block
p in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.P<Hamlet.HTML<T>> p()
HamletSpec._Block
p in interface HamletSpec._Blockpublic Hamlet.HTML<T> _(Class<? extends SubView> cls)
HamletSpec._Block
_ in interface HamletSpec._Blockcls - the sub-view class
public Hamlet.HR<Hamlet.HTML<T>> hr()
HamletSpec._Block
hr in interface HamletSpec._Blockpublic Hamlet.HTML<T> hr(String selector)
HamletSpec._Block
hr in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.DL<Hamlet.HTML<T>> dl(String selector)
HamletSpec._Block
dl in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.DL<Hamlet.HTML<T>> dl()
HamletSpec._Block
dl in interface HamletSpec._Blockpublic Hamlet.DIV<Hamlet.HTML<T>> div(String selector)
HamletSpec._Block
div in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.DIV<Hamlet.HTML<T>> div()
HamletSpec._Block
div in interface HamletSpec._Blockpublic Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> blockquote()
HamletSpec._Block
blockquote in interface HamletSpec._Blockpublic Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> bq()
HamletSpec._Block
bq in interface HamletSpec._Blockpublic Hamlet.HTML<T> h1(String cdata)
HamletSpec.Heading
h1 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.H1<Hamlet.HTML<T>> h1()
HamletSpec.Heading
h1 in interface HamletSpec.Heading
public Hamlet.HTML<T> h1(String selector,
String cdata)
HamletSpec.Heading
h1 in interface HamletSpec.Headingselector - the css selector in the form of (#id)?(.class)*cdata - the content of the element
public Hamlet.HTML<T> h2(String cdata)
HamletSpec.Heading
h2 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.H2<Hamlet.HTML<T>> h2()
HamletSpec.Heading
h2 in interface HamletSpec.Heading
public Hamlet.HTML<T> h2(String selector,
String cdata)
HamletSpec.Heading
h2 in interface HamletSpec.Headingselector - the css selector in the form of (#id)?(.class)*cdata - the content of the element
public Hamlet.H3<Hamlet.HTML<T>> h3()
HamletSpec.Heading
h3 in interface HamletSpec.Headingpublic Hamlet.HTML<T> h3(String cdata)
HamletSpec.Heading
h3 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.HTML<T> h3(String selector,
String cdata)
HamletSpec.Heading
h3 in interface HamletSpec.Headingselector - the css selector in the form of (#id)?(.class)*cdata - the content of the element
public Hamlet.H4<Hamlet.HTML<T>> h4()
HamletSpec.Heading
h4 in interface HamletSpec.Headingpublic Hamlet.HTML<T> h4(String cdata)
HamletSpec.Heading
h4 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.HTML<T> h4(String selector,
String cdata)
HamletSpec.Heading
h4 in interface HamletSpec.Headingselector - the css selector in the form of (#id)?(.class)*cdata - the content of the element
public Hamlet.H5<Hamlet.HTML<T>> h5()
HamletSpec.Heading
h5 in interface HamletSpec.Headingpublic Hamlet.HTML<T> h5(String cdata)
HamletSpec.Heading
h5 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.HTML<T> h5(String selector,
String cdata)
HamletSpec.Heading
h5 in interface HamletSpec.Headingselector - the css selector in the form of (#id)?(.class)*cdata - the content of the element
public Hamlet.H6<Hamlet.HTML<T>> h6()
HamletSpec.Heading
h6 in interface HamletSpec.Headingpublic Hamlet.HTML<T> h6(String cdata)
HamletSpec.Heading
h6 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.HTML<T> h6(String selector,
String cdata)
HamletSpec.Heading
h6 in interface HamletSpec.Headingselector - the css selector in the form of (#id)?(.class)*cdata - the content of the element
public Hamlet.UL<Hamlet.HTML<T>> ul()
HamletSpec.Listing
ul in interface HamletSpec.Listingpublic Hamlet.UL<Hamlet.HTML<T>> ul(String selector)
HamletSpec.Listing
ul in interface HamletSpec.Listingselector - the css selector in the form of (#id)?(.class)*
public Hamlet.OL<Hamlet.HTML<T>> ol()
HamletSpec.Listing
ol in interface HamletSpec.Listingpublic Hamlet.OL<Hamlet.HTML<T>> ol(String selector)
HamletSpec.Listing
ol in interface HamletSpec.Listingselector - the css selector in the form of (#id)?(.class)*
public Hamlet.PRE<Hamlet.HTML<T>> pre()
HamletSpec.Preformatted
pre in interface HamletSpec.Preformattedpublic Hamlet.PRE<Hamlet.HTML<T>> pre(String selector)
HamletSpec.Preformatted
pre in interface HamletSpec.Preformattedselector - the css selector in the form of (#id)?(.class)*
public Hamlet.FORM<Hamlet.HTML<T>> form()
HamletSpec._Form
form in interface HamletSpec._Formpublic Hamlet.FORM<Hamlet.HTML<T>> form(String selector)
HamletSpec._Form
form in interface HamletSpec._Formselector - the css selector in the form of (#id)*(.class)*
public Hamlet.FIELDSET<Hamlet.HTML<T>> fieldset()
HamletSpec._FieldSet
fieldset in interface HamletSpec._FieldSetpublic Hamlet.FIELDSET<Hamlet.HTML<T>> fieldset(String selector)
HamletSpec._FieldSet
fieldset in interface HamletSpec._FieldSetselector - the css selector in the form of (#id)*(.class)*
public Hamlet.INS<Hamlet.HTML<T>> ins()
HamletSpec._InsDel
ins in interface HamletSpec._InsDelpublic Hamlet.HTML<T> ins(String cdata)
HamletSpec._InsDel
ins in interface HamletSpec._InsDelcdata - inserted data
public Hamlet.DEL<Hamlet.HTML<T>> del()
HamletSpec._InsDel
del in interface HamletSpec._InsDelpublic Hamlet.HTML<T> del(String cdata)
HamletSpec._InsDel
del in interface HamletSpec._InsDelcdata - deleted data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||