public static interface HamletSpec._Block extends HamletSpec.Heading, HamletSpec.Listing, HamletSpec.Preformatted
Modifier and Type | Method and Description |
---|---|
HamletSpec._Block |
__(Class<? extends SubView> cls)
Embed a sub-view.
|
HamletSpec.ADDRESS |
address()
Add a ADDRESS element.
|
HamletSpec._Block |
address(String cdata)
Add a complete ADDRESS element.
|
HamletSpec.BLOCKQUOTE |
blockquote()
Add a BLOCKQUOTE element.
|
HamletSpec.BLOCKQUOTE |
bq()
Alias of blockquote
|
HamletSpec.DIV |
div()
Add a DIV element.
|
HamletSpec.DIV |
div(String selector)
Add a DIV element.
|
HamletSpec.DL |
dl()
Add a DL (description list) element.
|
HamletSpec.DL |
dl(String selector)
Add a DL element.
|
HamletSpec.HR |
hr()
Add a HR (horizontal rule) element.
|
HamletSpec._Block |
hr(String selector)
Add a HR element.
|
HamletSpec.P |
p()
Add a P (paragraph) element.
|
HamletSpec.P |
p(String selector)
Add a P (paragraph) element.
|
HamletSpec.TABLE |
table()
Add a TABLE element.
|
HamletSpec.TABLE |
table(String selector)
Add a TABLE element.
|
h1, h1, h1, h2, h2, h2, h3, h3, h3, h4, h4, h4, h5, h5, h5, h6, h6, h6
ol, ol, ul, ul
pre, pre
HamletSpec.P p()
HamletSpec.P p(String selector)
selector
- the css selector in the form of (#id)*(.class)*HamletSpec.DL dl()
HamletSpec.DL dl(String selector)
selector
- the css selector in the form of (#id)*(.class)*HamletSpec.DIV div()
HamletSpec.DIV div(String selector)
selector
- the css selector in the form of (#id)*(.class)*HamletSpec.BLOCKQUOTE blockquote()
HamletSpec.BLOCKQUOTE bq()
HamletSpec.HR hr()
HamletSpec._Block hr(String selector)
selector
- the css selector in the form of (#id)*(.class)*HamletSpec.TABLE table()
HamletSpec.TABLE table(String selector)
selector
- the css selector in the form of (#id)*(.class)*HamletSpec.ADDRESS address()
HamletSpec._Block address(String cdata)
cdata
- the contentHamletSpec._Block __(Class<? extends SubView> cls)
cls
- the sub-view classCopyright © 2008–2019 Apache Software Foundation. All rights reserved.