- All Superinterfaces:
HamletSpec.__, HamletSpec._Block, HamletSpec._Body, HamletSpec._FieldSet, HamletSpec._Form, HamletSpec._Head, HamletSpec._InsDel, HamletSpec._Object, HamletSpec._Script, HamletSpec.Block, HamletSpec.Heading, HamletSpec.HeadMisc, HamletSpec.Listing, HamletSpec.Preformatted
- All Known Subinterfaces:
HamletSpec.HTML
- All Known Implementing Classes:
Hamlet, Hamlet.HTML, HtmlBlock.Block, HtmlPage.Page
- Enclosing class:
- HamletSpec
-
Method Summary
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Block
__, address, address, blockquote, bq, div, div, dl, dl, hr, hr, p, p, table, table
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Heading
h1, h1, h1, h2, h2, h2, h3, h3, h3, h4, h4, h4, h5, h5, h5, h6, h6, h6
-
Method Details
-
head
Add a HEAD element.
- Returns:
- a new HEAD element builder
-
body
Add a BODY element.
- Returns:
- a new BODY element builder
-
body
Add a BODY element.
- Parameters:
selector - the css selector in the form of (#id)*(.class)*
- Returns:
- a new BODY element builder