|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.webapp.hamlet.HamletSpec
org.apache.hadoop.yarn.webapp.hamlet.HamletImpl
org.apache.hadoop.yarn.webapp.hamlet.Hamlet
@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"})
public class Hamlet
| Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl |
|---|
HamletImpl.EImp<T extends HamletSpec._>, HamletImpl.EOpt, HamletImpl.Generic<T extends HamletSpec._> |
| Constructor Summary | |
|---|---|
Hamlet(PrintWriter out,
int nestLevel,
boolean wasInline)
|
|
| Method Summary | |
|---|---|
Hamlet |
_(Class<? extends SubView> cls)
Embed a sub-view. |
Hamlet.ADDRESS<Hamlet> |
address()
Add a ADDRESS element. |
Hamlet |
address(String cdata)
Add a complete ADDRESS element. |
Hamlet.BASE<Hamlet> |
base()
Add a BASE element. |
Hamlet |
base(String href)
Add a complete BASE element. |
Hamlet.BLOCKQUOTE<Hamlet> |
blockquote()
Add a BLOCKQUOTE element. |
Hamlet.BODY<Hamlet> |
body()
Add a BODY element. |
Hamlet.BODY<Hamlet> |
body(String selector)
Add a BODY element. |
Hamlet.BLOCKQUOTE<Hamlet> |
bq()
Alias of blockquote |
Hamlet.DEL<Hamlet> |
del()
Add a DEL (delete) element. |
Hamlet |
del(String cdata)
Add a complete DEL element. |
Hamlet.DIV<Hamlet> |
div()
Add a DIV element. |
Hamlet.DIV<Hamlet> |
div(String selector)
Add a DIV element. |
Hamlet.DL<Hamlet> |
dl()
Add a DL (description list) element. |
Hamlet.DL<Hamlet> |
dl(String selector)
Add a DL element. |
Hamlet.FIELDSET<Hamlet> |
fieldset()
Add a FIELDSET element. |
Hamlet.FIELDSET<Hamlet> |
fieldset(String selector)
Add a FIELDSET element. |
Hamlet.FORM<Hamlet> |
form()
Add a FORM element. |
Hamlet.FORM<Hamlet> |
form(String selector)
Add a FORM element. |
Hamlet.H1<Hamlet> |
h1()
Add an H1 element. |
Hamlet |
h1(String cdata)
Add a complete H1 element. |
Hamlet |
h1(String selector,
String cdata)
Add a complete H1 element |
Hamlet.H2<Hamlet> |
h2()
Add an H2 element. |
Hamlet |
h2(String cdata)
Add a complete H2 element. |
Hamlet |
h2(String selector,
String cdata)
Add a complete H1 element |
Hamlet.H3<Hamlet> |
h3()
Add an H3 element. |
Hamlet |
h3(String cdata)
Add a complete H3 element. |
Hamlet |
h3(String selector,
String cdata)
Add a complete H1 element |
Hamlet.H4<Hamlet> |
h4()
Add an H4 element. |
Hamlet |
h4(String cdata)
Add a complete H4 element. |
Hamlet |
h4(String selector,
String cdata)
Add a complete H4 element |
Hamlet.H5<Hamlet> |
h5()
Add an H5 element. |
Hamlet |
h5(String cdata)
Add a complete H5 element. |
Hamlet |
h5(String selector,
String cdata)
Add a complete H5 element |
Hamlet.H6<Hamlet> |
h6()
Add an H6 element. |
Hamlet |
h6(String cdata)
Add a complete H6 element. |
Hamlet |
h6(String selector,
String cdata)
Add a complete H6 element. |
Hamlet.HEAD<Hamlet> |
head()
Add a HEAD element. |
Hamlet.HR<Hamlet> |
hr()
Add a HR (horizontal rule) element. |
Hamlet |
hr(String selector)
Add a HR element. |
Hamlet.INS<Hamlet> |
ins()
Add an INS (insert) element. |
Hamlet |
ins(String cdata)
Add a complete INS element. |
Hamlet.LINK<Hamlet> |
link()
Add a link element. |
Hamlet |
link(String href)
Add a link element. |
Hamlet |
meta_http(String header,
String content)
Add a meta element with http-equiv attribute. |
Hamlet.META<Hamlet> |
meta()
Add a meta element. |
Hamlet |
meta(String name,
String content)
Add a meta element. |
Hamlet.OBJECT<Hamlet> |
object()
Add an object element. |
Hamlet.OBJECT<Hamlet> |
object(String selector)
Add an object element. |
Hamlet.OL<Hamlet> |
ol()
Add a OL (ordered list) element. |
Hamlet.OL<Hamlet> |
ol(String selector)
Add a OL (ordered list) element. |
Hamlet.P<Hamlet> |
p()
Add a P (paragraph) element. |
Hamlet.P<Hamlet> |
p(String selector)
Add a P (paragraph) element. |
Hamlet.PRE<Hamlet> |
pre()
Add a PRE (preformatted) element. |
Hamlet.PRE<Hamlet> |
pre(String selector)
Add a PRE (preformatted) element. |
Hamlet.SCRIPT<Hamlet> |
script()
Add a script element. |
Hamlet |
script(String src)
Add a script element |
Hamlet.STYLE<Hamlet> |
style()
Add a style element. |
Hamlet |
style(Object... lines)
Add a css style element. |
Hamlet.TABLE<Hamlet> |
table()
Add a TABLE element. |
Hamlet.TABLE<Hamlet> |
table(String selector)
Add a TABLE element. |
Hamlet.TITLE<Hamlet> |
title()
Add a TITLE element. |
Hamlet |
title(String cdata)
Add a TITLE element. |
Hamlet.UL<Hamlet> |
ul()
Add a UL (unordered list) element. |
Hamlet.UL<Hamlet> |
ul(String selector)
Add a UL (unordered list) element. |
| Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl |
|---|
getWriter, indent, nestLevel, parseSelector, printAttr, printEndTag, printStartTag, root, root, setLinkHref, setScriptSrc, setSelector, setWasInline, subView, wasInline |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Hamlet(PrintWriter out,
int nestLevel,
boolean wasInline)
| Method Detail |
|---|
public Hamlet.HEAD<Hamlet> head()
HamletSpec._Html
head in interface HamletSpec._Htmlpublic Hamlet.BODY<Hamlet> body()
HamletSpec._Html
body in interface HamletSpec._Htmlpublic Hamlet.BODY<Hamlet> body(String selector)
HamletSpec._Html
body in interface HamletSpec._Htmlselector - the css selector in the form of (#id)*(.class)*
public Hamlet.BASE<Hamlet> base()
HamletSpec._Head
base in interface HamletSpec._Headpublic Hamlet base(String href)
HamletSpec._Head
base in interface HamletSpec._Headpublic Hamlet.TITLE<Hamlet> title()
HamletSpec._Head
title in interface HamletSpec._Headpublic Hamlet title(String cdata)
HamletSpec._Head
title in interface HamletSpec._Headcdata - the content
public Hamlet.STYLE<Hamlet> style()
HamletSpec.HeadMisc
style in interface HamletSpec.HeadMiscpublic Hamlet style(Object... lines)
HamletSpec.HeadMisc
style in interface HamletSpec.HeadMisclines - content of the style sheet
public Hamlet.LINK<Hamlet> link()
HamletSpec.HeadMisc
link in interface HamletSpec.HeadMiscpublic Hamlet 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> meta()
HamletSpec.HeadMisc
meta in interface HamletSpec.HeadMisc
public Hamlet 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 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> script()
HamletSpec._Script
script in interface HamletSpec._Scriptpublic Hamlet script(String src)
HamletSpec._Script
script in interface HamletSpec._Scriptsrc - uri of the script
public Hamlet.OBJECT<Hamlet> object()
HamletSpec._Object
object in interface HamletSpec._Objectpublic Hamlet.OBJECT<Hamlet> object(String selector)
HamletSpec._Object
object in interface HamletSpec._Objectselector - as #id.class etc.
public Hamlet.TABLE<Hamlet> table()
HamletSpec._Block
table in interface HamletSpec._Blockpublic Hamlet.TABLE<Hamlet> table(String selector)
HamletSpec._Block
table in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet address(String cdata)
HamletSpec._Block
address in interface HamletSpec._Blockcdata - the content
public Hamlet.ADDRESS<Hamlet> address()
HamletSpec._Block
address in interface HamletSpec._Blockpublic Hamlet.P<Hamlet> p(String selector)
HamletSpec._Block
p in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.P<Hamlet> p()
HamletSpec._Block
p in interface HamletSpec._Blockpublic Hamlet _(Class<? extends SubView> cls)
HamletSpec._Block
_ in interface HamletSpec._Blockcls - the sub-view class
public Hamlet.HR<Hamlet> hr()
HamletSpec._Block
hr in interface HamletSpec._Blockpublic Hamlet hr(String selector)
HamletSpec._Block
hr in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.DL<Hamlet> dl(String selector)
HamletSpec._Block
dl in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.DL<Hamlet> dl()
HamletSpec._Block
dl in interface HamletSpec._Blockpublic Hamlet.DIV<Hamlet> div(String selector)
HamletSpec._Block
div in interface HamletSpec._Blockselector - the css selector in the form of (#id)*(.class)*
public Hamlet.DIV<Hamlet> div()
HamletSpec._Block
div in interface HamletSpec._Blockpublic Hamlet.BLOCKQUOTE<Hamlet> blockquote()
HamletSpec._Block
blockquote in interface HamletSpec._Blockpublic Hamlet.BLOCKQUOTE<Hamlet> bq()
HamletSpec._Block
bq in interface HamletSpec._Blockpublic Hamlet h1(String cdata)
HamletSpec.Heading
h1 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.H1<Hamlet> h1()
HamletSpec.Heading
h1 in interface HamletSpec.Heading
public Hamlet 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 h2(String cdata)
HamletSpec.Heading
h2 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet.H2<Hamlet> h2()
HamletSpec.Heading
h2 in interface HamletSpec.Heading
public Hamlet 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> h3()
HamletSpec.Heading
h3 in interface HamletSpec.Headingpublic Hamlet h3(String cdata)
HamletSpec.Heading
h3 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet 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> h4()
HamletSpec.Heading
h4 in interface HamletSpec.Headingpublic Hamlet h4(String cdata)
HamletSpec.Heading
h4 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet 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> h5()
HamletSpec.Heading
h5 in interface HamletSpec.Headingpublic Hamlet h5(String cdata)
HamletSpec.Heading
h5 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet 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> h6()
HamletSpec.Heading
h6 in interface HamletSpec.Headingpublic Hamlet h6(String cdata)
HamletSpec.Heading
h6 in interface HamletSpec.Headingcdata - the content of the element
public Hamlet 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> ul()
HamletSpec.Listing
ul in interface HamletSpec.Listingpublic Hamlet.UL<Hamlet> ul(String selector)
HamletSpec.Listing
ul in interface HamletSpec.Listingselector - the css selector in the form of (#id)?(.class)*
public Hamlet.OL<Hamlet> ol()
HamletSpec.Listing
ol in interface HamletSpec.Listingpublic Hamlet.OL<Hamlet> ol(String selector)
HamletSpec.Listing
ol in interface HamletSpec.Listingselector - the css selector in the form of (#id)?(.class)*
public Hamlet.PRE<Hamlet> pre()
HamletSpec.Preformatted
pre in interface HamletSpec.Preformattedpublic Hamlet.PRE<Hamlet> pre(String selector)
HamletSpec.Preformatted
pre in interface HamletSpec.Preformattedselector - the css selector in the form of (#id)?(.class)*
public Hamlet.FORM<Hamlet> form()
HamletSpec._Form
form in interface HamletSpec._Formpublic Hamlet.FORM<Hamlet> form(String selector)
HamletSpec._Form
form in interface HamletSpec._Formselector - the css selector in the form of (#id)*(.class)*
public Hamlet.FIELDSET<Hamlet> fieldset()
HamletSpec._FieldSet
fieldset in interface HamletSpec._FieldSetpublic Hamlet.FIELDSET<Hamlet> fieldset(String selector)
HamletSpec._FieldSet
fieldset in interface HamletSpec._FieldSetselector - the css selector in the form of (#id)*(.class)*
public Hamlet.INS<Hamlet> ins()
HamletSpec._InsDel
ins in interface HamletSpec._InsDelpublic Hamlet ins(String cdata)
HamletSpec._InsDel
ins in interface HamletSpec._InsDelcdata - inserted data
public Hamlet.DEL<Hamlet> del()
HamletSpec._InsDel
del in interface HamletSpec._InsDelpublic Hamlet 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 | |||||||||