Interface HamletSpec.Heading
- All Known Subinterfaces:
HamletSpec._Block,HamletSpec._Body,HamletSpec._Cell,HamletSpec._Html,HamletSpec.Block,HamletSpec.BLOCKQUOTE,HamletSpec.BODY,HamletSpec.BUTTON,HamletSpec.DD,HamletSpec.DEL,HamletSpec.DIV,HamletSpec.FIELDSET,HamletSpec.Flow,HamletSpec.FORM,HamletSpec.HTML,HamletSpec.INS,HamletSpec.LI,HamletSpec.MAP,HamletSpec.OBJECT,HamletSpec.TD,HamletSpec.TH
- All Known Implementing Classes:
Hamlet,Hamlet.BLOCKQUOTE,Hamlet.BODY,Hamlet.BUTTON,Hamlet.DD,Hamlet.DEL,Hamlet.DIV,Hamlet.FIELDSET,Hamlet.FORM,Hamlet.HTML,Hamlet.INS,Hamlet.LI,Hamlet.MAP,Hamlet.OBJECT,Hamlet.TD,Hamlet.TH,HtmlBlock.Block,HtmlPage.Page
- Enclosing class:
- HamletSpec
public static interface HamletSpec.Heading
%heading
-
Method Summary
Modifier and TypeMethodDescriptionh1()Add an H1 element.Add a complete H1 element.Add a complete H1 elementh2()Add an H2 element.Add a complete H2 element.Add a complete H1 elementh3()Add an H3 element.Add a complete H3 element.Add a complete H1 elementh4()Add an H4 element.Add a complete H4 element.Add a complete H4 elementh5()Add an H5 element.Add a complete H5 element.Add a complete H5 elementh6()Add an H6 element.Add a complete H6 element.Add a complete H6 element.
-
Method Details
-
h1
HamletSpec.H1 h1()Add an H1 element.- Returns:
- a new H1 element builder
-
h1
Add a complete H1 element.- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h1
Add a complete H1 element- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h2
HamletSpec.H2 h2()Add an H2 element.- Returns:
- a new H2 element builder
-
h2
Add a complete H2 element.- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h2
Add a complete H1 element- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h3
HamletSpec.H3 h3()Add an H3 element.- Returns:
- a new H3 element builder
-
h3
Add a complete H3 element.- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h3
Add a complete H1 element- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h4
HamletSpec.H4 h4()Add an H4 element.- Returns:
- a new H4 element builder
-
h4
Add a complete H4 element.- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h4
Add a complete H4 element- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h5
HamletSpec.H5 h5()Add an H5 element.- Returns:
- a new H5 element builder
-
h5
Add a complete H5 element.- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h5
Add a complete H5 element- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h6
HamletSpec.H6 h6()Add an H6 element.- Returns:
- a new H6 element builder
-
h6
Add a complete H6 element.- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h6
Add a complete H6 element.- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-