public class Hamlet.OBJECT<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.OBJECT
Constructor and Description |
---|
OBJECT(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.OBJECT<T> |
__(Class<? extends SubView> cls)
Embed a sub-view.
|
Hamlet.OBJECT<T> |
__(Object... lines)
Content of the element
|
Hamlet.OBJECT<T> |
_r(Object... lines)
Raw (no need to be HTML escaped) content
|
Hamlet.OBJECT<T> |
$class(String value)
space-separated list of classes
|
Hamlet.OBJECT<T> |
$data(String value)
reference to object's data
|
Hamlet.OBJECT<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.OBJECT<T> |
$height(int value)
override height
|
Hamlet.OBJECT<T> |
$height(String value)
override height
|
Hamlet.OBJECT<T> |
$id(String value)
document-wide unique id
|
Hamlet.OBJECT<T> |
$lang(String value)
language code
|
Hamlet.OBJECT<T> |
$name(String value)
submit as part of form
|
Hamlet.OBJECT<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.OBJECT<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.OBJECT<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.OBJECT<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.OBJECT<T> |
$onkeyup(String value)
a key was released
|
Hamlet.OBJECT<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.OBJECT<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.OBJECT<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.OBJECT<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.OBJECT<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.OBJECT<T> |
$style(String value)
associated style info
|
Hamlet.OBJECT<T> |
$tabindex(int value)
position in tabbing order
|
Hamlet.OBJECT<T> |
$title(String value)
advisory title
|
Hamlet.OBJECT<T> |
$type(String value)
content type for data
|
Hamlet.OBJECT<T> |
$usemap(String value)
use client-side image map
|
Hamlet.OBJECT<T> |
$width(int value)
override width
|
Hamlet.OBJECT<T> |
$width(String value)
override width
|
Hamlet.A<Hamlet.OBJECT<T>> |
a()
Add a A (anchor) element.
|
Hamlet.A<Hamlet.OBJECT<T>> |
a(String selector)
Add a A (anchor) element.
|
Hamlet.OBJECT<T> |
a(String href,
String anchorText)
Shortcut for
a().$href(href).__(anchorText).__(); |
Hamlet.OBJECT<T> |
a(String selector,
String href,
String anchorText)
Shortcut for
a(selector).$href(href).__(anchorText).__(); |
Hamlet.ABBR<Hamlet.OBJECT<T>> |
abbr()
Add an ABBR (abbreviation) element.
|
Hamlet.OBJECT<T> |
abbr(String cdata)
Add a ABBR (abbreviation) element.
|
Hamlet.OBJECT<T> |
abbr(String selector,
String cdata)
Add a ABBR (abbreviation) element.
|
Hamlet.ADDRESS<Hamlet.OBJECT<T>> |
address()
Add a ADDRESS element.
|
Hamlet.OBJECT<T> |
address(String cdata)
Add a complete ADDRESS element.
|
Hamlet.B<Hamlet.OBJECT<T>> |
b()
Add a new B (bold/important) element.
|
Hamlet.OBJECT<T> |
b(String cdata)
Add a complete B (bold/important) element.
|
Hamlet.OBJECT<T> |
b(String selector,
String cdata)
Add a complete B (bold/important) element.
|
Hamlet.BDO<Hamlet.OBJECT<T>> |
bdo()
Add a bdo (bidirectional override) element
|
Hamlet.OBJECT<T> |
bdo(HamletSpec.Dir dir,
String cdata)
Add a bdo (bidirectional override) element
|
Hamlet.BLOCKQUOTE<Hamlet.OBJECT<T>> |
blockquote()
Add a BLOCKQUOTE element.
|
Hamlet.BLOCKQUOTE<Hamlet.OBJECT<T>> |
bq()
Alias of blockquote
|
Hamlet.BR<Hamlet.OBJECT<T>> |
br()
Add a BR (line break) element.
|
Hamlet.OBJECT<T> |
br(String selector)
Add a BR (line break) element.
|
Hamlet.BUTTON<Hamlet.OBJECT<T>> |
button()
Add a BUTTON element.
|
Hamlet.BUTTON<Hamlet.OBJECT<T>> |
button(String selector)
Add a BUTTON element.
|
Hamlet.OBJECT<T> |
button(String selector,
String cdata)
Add a complete BUTTON element.
|
Hamlet.CITE<Hamlet.OBJECT<T>> |
cite()
Add a CITE element.
|
Hamlet.OBJECT<T> |
cite(String cdata)
Add a CITE element.
|
Hamlet.OBJECT<T> |
cite(String selector,
String cdata)
Add a CITE element.
|
Hamlet.CODE<Hamlet.OBJECT<T>> |
code()
Add a CODE (code fragment) element.
|
Hamlet.OBJECT<T> |
code(String cdata)
Add a complete CODE element.
|
Hamlet.OBJECT<T> |
code(String selector,
String cdata)
Add a complete CODE element.
|
Hamlet.DEL<Hamlet.OBJECT<T>> |
del()
Add a DEL (delete) element.
|
Hamlet.OBJECT<T> |
del(String cdata)
Add a complete DEL element.
|
Hamlet.DFN<Hamlet.OBJECT<T>> |
dfn()
Add a DFN element.
|
Hamlet.OBJECT<T> |
dfn(String cdata)
Add a complete DFN element.
|
Hamlet.OBJECT<T> |
dfn(String selector,
String cdata)
Add a complete DFN element.
|
Hamlet.DIV<Hamlet.OBJECT<T>> |
div()
Add a DIV element.
|
Hamlet.DIV<Hamlet.OBJECT<T>> |
div(String selector)
Add a DIV element.
|
Hamlet.DL<Hamlet.OBJECT<T>> |
dl()
Add a DL (description list) element.
|
Hamlet.DL<Hamlet.OBJECT<T>> |
dl(String selector)
Add a DL element.
|
Hamlet.EM<Hamlet.OBJECT<T>> |
em()
Add an EM (emphasized) element.
|
Hamlet.OBJECT<T> |
em(String cdata)
Add an EM (emphasized) element.
|
Hamlet.OBJECT<T> |
em(String selector,
String cdata)
Add an EM (emphasized) element.
|
Hamlet.FIELDSET<Hamlet.OBJECT<T>> |
fieldset()
Add a FIELDSET element.
|
Hamlet.FIELDSET<Hamlet.OBJECT<T>> |
fieldset(String selector)
Add a FIELDSET element.
|
Hamlet.FORM<Hamlet.OBJECT<T>> |
form()
Add a FORM element.
|
Hamlet.FORM<Hamlet.OBJECT<T>> |
form(String selector)
Add a FORM element.
|
Hamlet.H1<Hamlet.OBJECT<T>> |
h1()
Add an H1 element.
|
Hamlet.OBJECT<T> |
h1(String cdata)
Add a complete H1 element.
|
Hamlet.OBJECT<T> |
h1(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H2<Hamlet.OBJECT<T>> |
h2()
Add an H2 element.
|
Hamlet.OBJECT<T> |
h2(String cdata)
Add a complete H2 element.
|
Hamlet.OBJECT<T> |
h2(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H3<Hamlet.OBJECT<T>> |
h3()
Add an H3 element.
|
Hamlet.OBJECT<T> |
h3(String cdata)
Add a complete H3 element.
|
Hamlet.OBJECT<T> |
h3(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H4<Hamlet.OBJECT<T>> |
h4()
Add an H4 element.
|
Hamlet.OBJECT<T> |
h4(String cdata)
Add a complete H4 element.
|
Hamlet.OBJECT<T> |
h4(String selector,
String cdata)
Add a complete H4 element
|
Hamlet.H5<Hamlet.OBJECT<T>> |
h5()
Add an H5 element.
|
Hamlet.OBJECT<T> |
h5(String cdata)
Add a complete H5 element.
|
Hamlet.OBJECT<T> |
h5(String selector,
String cdata)
Add a complete H5 element
|
Hamlet.H6<Hamlet.OBJECT<T>> |
h6()
Add an H6 element.
|
Hamlet.OBJECT<T> |
h6(String cdata)
Add a complete H6 element.
|
Hamlet.OBJECT<T> |
h6(String selector,
String cdata)
Add a complete H6 element.
|
Hamlet.HR<Hamlet.OBJECT<T>> |
hr()
Add a HR (horizontal rule) element.
|
Hamlet.OBJECT<T> |
hr(String selector)
Add a HR element.
|
Hamlet.I<Hamlet.OBJECT<T>> |
i()
Add an I (italic, alt voice/mood) element.
|
Hamlet.OBJECT<T> |
i(String cdata)
Add a complete I (italic, alt voice/mood) element.
|
Hamlet.OBJECT<T> |
i(String selector,
String cdata)
Add a complete I (italic, alt voice/mood) element.
|
Hamlet.IMG<Hamlet.OBJECT<T>> |
img()
Add a IMG (image) element.
|
Hamlet.OBJECT<T> |
img(String src)
Add a IMG (image) element.
|
Hamlet.INPUT<Hamlet.OBJECT<T>> |
input()
Add a INPUT element.
|
Hamlet.INPUT<Hamlet.OBJECT<T>> |
input(String selector)
Add a INPUT element.
|
Hamlet.INS<Hamlet.OBJECT<T>> |
ins()
Add an INS (insert) element.
|
Hamlet.OBJECT<T> |
ins(String cdata)
Add a complete INS element.
|
Hamlet.KBD<Hamlet.OBJECT<T>> |
kbd()
Add a KBD (keyboard) element.
|
Hamlet.OBJECT<T> |
kbd(String cdata)
Add a KBD (keyboard) element.
|
Hamlet.OBJECT<T> |
kbd(String selector,
String cdata)
Add a KBD (keyboard) element.
|
Hamlet.LABEL<Hamlet.OBJECT<T>> |
label()
Add a LABEL element.
|
Hamlet.OBJECT<T> |
label(String forId,
String cdata)
Add a LABEL element.
|
Hamlet.MAP<Hamlet.OBJECT<T>> |
map()
Add a MAP element.
|
Hamlet.MAP<Hamlet.OBJECT<T>> |
map(String selector)
Add a MAP element.
|
Hamlet.OBJECT<Hamlet.OBJECT<T>> |
object()
Add an object element.
|
Hamlet.OBJECT<Hamlet.OBJECT<T>> |
object(String selector)
Add an object element.
|
Hamlet.OL<Hamlet.OBJECT<T>> |
ol()
Add a OL (ordered list) element.
|
Hamlet.OL<Hamlet.OBJECT<T>> |
ol(String selector)
Add a OL (ordered list) element.
|
Hamlet.P<Hamlet.OBJECT<T>> |
p()
Add a P (paragraph) element.
|
Hamlet.P<Hamlet.OBJECT<T>> |
p(String selector)
Add a P (paragraph) element.
|
Hamlet.PARAM<Hamlet.OBJECT<T>> |
param()
Add a PARAM (parameter) element.
|
Hamlet.OBJECT<T> |
param(String name,
String value)
Add a PARAM element.
|
Hamlet.PRE<Hamlet.OBJECT<T>> |
pre()
Add a PRE (preformatted) element.
|
Hamlet.PRE<Hamlet.OBJECT<T>> |
pre(String selector)
Add a PRE (preformatted) element.
|
Hamlet.Q<Hamlet.OBJECT<T>> |
q()
Add a Q (inline quotation) element.
|
Hamlet.OBJECT<T> |
q(String cdata)
Add a complete Q element.
|
Hamlet.OBJECT<T> |
q(String selector,
String cdata)
Add a Q element.
|
Hamlet.SAMP<Hamlet.OBJECT<T>> |
samp()
Add a SAMP (sample) element.
|
Hamlet.OBJECT<T> |
samp(String cdata)
Add a complete SAMP (sample) element.
|
Hamlet.OBJECT<T> |
samp(String selector,
String cdata)
Add a complete SAMP (sample) element.
|
Hamlet.SCRIPT<Hamlet.OBJECT<T>> |
script()
Add a script element.
|
Hamlet.OBJECT<T> |
script(String src)
Add a script element
|
Hamlet.SELECT<Hamlet.OBJECT<T>> |
select()
Add a SELECT element.
|
Hamlet.SELECT<Hamlet.OBJECT<T>> |
select(String selector)
Add a SELECT element.
|
Hamlet.SMALL<Hamlet.OBJECT<T>> |
small()
Add a SMALL (small print) element
|
Hamlet.OBJECT<T> |
small(String cdata)
Add a complete small (small print) element.
|
Hamlet.OBJECT<T> |
small(String selector,
String cdata)
Add a complete small (small print) element.
|
Hamlet.SPAN<Hamlet.OBJECT<T>> |
span()
Add a SPAN element.
|
Hamlet.OBJECT<T> |
span(String cdata)
Add a SPAN element.
|
Hamlet.OBJECT<T> |
span(String selector,
String cdata)
Add a SPAN element.
|
Hamlet.STRONG<Hamlet.OBJECT<T>> |
strong()
Add a STRONG (important) element.
|
Hamlet.OBJECT<T> |
strong(String cdata)
Add a complete STRONG (important) element.
|
Hamlet.OBJECT<T> |
strong(String selector,
String cdata)
Add a complete STRONG (important) element.
|
Hamlet.SUB<Hamlet.OBJECT<T>> |
sub()
Add a SUB (subscript) element.
|
Hamlet.OBJECT<T> |
sub(String cdata)
Add a complete SUB (subscript) element.
|
Hamlet.OBJECT<T> |
sub(String selector,
String cdata)
Add a complete SUB (subscript) element.
|
Hamlet.SUP<Hamlet.OBJECT<T>> |
sup()
Add a SUP (superscript) element.
|
Hamlet.OBJECT<T> |
sup(String cdata)
Add a SUP (superscript) element.
|
Hamlet.OBJECT<T> |
sup(String selector,
String cdata)
Add a SUP (superscript) element.
|
Hamlet.TABLE<Hamlet.OBJECT<T>> |
table()
Add a TABLE element.
|
Hamlet.TABLE<Hamlet.OBJECT<T>> |
table(String selector)
Add a TABLE element.
|
Hamlet.TEXTAREA<Hamlet.OBJECT<T>> |
textarea()
Add a TEXTAREA element.
|
Hamlet.TEXTAREA<Hamlet.OBJECT<T>> |
textarea(String selector)
Add a TEXTAREA element.
|
Hamlet.OBJECT<T> |
textarea(String selector,
String cdata)
Add a complete TEXTAREA element.
|
Hamlet.UL<Hamlet.OBJECT<T>> |
ul()
Add a UL (unordered list) element.
|
Hamlet.UL<Hamlet.OBJECT<T>> |
ul(String selector)
Add a UL (unordered list) element.
|
Hamlet.VAR<Hamlet.OBJECT<T>> |
var()
Add a VAR (variable) element.
|
Hamlet.OBJECT<T> |
var(String cdata)
Add a VAR (variable) element.
|
Hamlet.OBJECT<T> |
var(String selector,
String cdata)
Add a VAR (variable) element.
|
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__
public OBJECT(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.OBJECT<T> $type(String value)
HamletSpec.OBJECT
$type
in interface HamletSpec.OBJECT
value
- the typepublic Hamlet.OBJECT<T> $name(String value)
HamletSpec.OBJECT
$name
in interface HamletSpec.OBJECT
value
- the name of the objectpublic Hamlet.OBJECT<T> $tabindex(int value)
HamletSpec.OBJECT
$tabindex
in interface HamletSpec.OBJECT
value
- of the orderpublic Hamlet.OBJECT<T> $data(String value)
HamletSpec.OBJECT
$data
in interface HamletSpec.OBJECT
value
- the URIpublic Hamlet.OBJECT<T> $height(String value)
HamletSpec.OBJECT
$height
in interface HamletSpec.OBJECT
value
- the height (can use %, *)public Hamlet.OBJECT<T> $height(int value)
HamletSpec.OBJECT
$height
in interface HamletSpec.OBJECT
value
- the heightpublic Hamlet.OBJECT<T> $width(int value)
HamletSpec.OBJECT
$width
in interface HamletSpec.OBJECT
value
- the widthpublic Hamlet.OBJECT<T> $width(String value)
HamletSpec.OBJECT
$width
in interface HamletSpec.OBJECT
value
- the height (can use %, *)public Hamlet.OBJECT<T> $usemap(String value)
HamletSpec.OBJECT
$usemap
in interface HamletSpec.OBJECT
value
- the URI/name of the mappublic Hamlet.OBJECT<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the idpublic Hamlet.OBJECT<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.OBJECT<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.OBJECT<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.OBJECT<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.OBJECT<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.OBJECT<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OBJECT<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.PARAM<Hamlet.OBJECT<T>> param()
HamletSpec._Param
param
in interface HamletSpec._Param
public Hamlet.OBJECT<T> param(String name, String value)
HamletSpec._Param
param().$name(name).$value(value).__();
param
in interface HamletSpec._Param
name
- of the valuevalue
- the valuepublic Hamlet.TABLE<Hamlet.OBJECT<T>> table()
HamletSpec._Block
table
in interface HamletSpec._Block
public Hamlet.TABLE<Hamlet.OBJECT<T>> table(String selector)
HamletSpec._Block
table
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.OBJECT<T> address(String cdata)
HamletSpec._Block
address
in interface HamletSpec._Block
cdata
- the contentpublic Hamlet.ADDRESS<Hamlet.OBJECT<T>> address()
HamletSpec._Block
address
in interface HamletSpec._Block
public Hamlet.P<Hamlet.OBJECT<T>> p(String selector)
HamletSpec._Block
p
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.P<Hamlet.OBJECT<T>> p()
HamletSpec._Block
p
in interface HamletSpec._Block
public Hamlet.OBJECT<T> __(Class<? extends SubView> cls)
HamletSpec._Block
__
in interface HamletSpec._Block
cls
- the sub-view classpublic Hamlet.HR<Hamlet.OBJECT<T>> hr()
HamletSpec._Block
hr
in interface HamletSpec._Block
public Hamlet.OBJECT<T> hr(String selector)
HamletSpec._Block
hr
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.DL<Hamlet.OBJECT<T>> dl(String selector)
HamletSpec._Block
dl
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.DL<Hamlet.OBJECT<T>> dl()
HamletSpec._Block
dl
in interface HamletSpec._Block
public Hamlet.DIV<Hamlet.OBJECT<T>> div(String selector)
HamletSpec._Block
div
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.DIV<Hamlet.OBJECT<T>> div()
HamletSpec._Block
div
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.OBJECT<T>> blockquote()
HamletSpec._Block
blockquote
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.OBJECT<T>> bq()
HamletSpec._Block
bq
in interface HamletSpec._Block
public Hamlet.OBJECT<T> h1(String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H1<Hamlet.OBJECT<T>> h1()
HamletSpec.Heading
h1
in interface HamletSpec.Heading
public Hamlet.OBJECT<T> h1(String selector, String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.OBJECT<T> h2(String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H2<Hamlet.OBJECT<T>> h2()
HamletSpec.Heading
h2
in interface HamletSpec.Heading
public Hamlet.OBJECT<T> h2(String selector, String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H3<Hamlet.OBJECT<T>> h3()
HamletSpec.Heading
h3
in interface HamletSpec.Heading
public Hamlet.OBJECT<T> h3(String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.OBJECT<T> h3(String selector, String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H4<Hamlet.OBJECT<T>> h4()
HamletSpec.Heading
h4
in interface HamletSpec.Heading
public Hamlet.OBJECT<T> h4(String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.OBJECT<T> h4(String selector, String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H5<Hamlet.OBJECT<T>> h5()
HamletSpec.Heading
h5
in interface HamletSpec.Heading
public Hamlet.OBJECT<T> h5(String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.OBJECT<T> h5(String selector, String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H6<Hamlet.OBJECT<T>> h6()
HamletSpec.Heading
h6
in interface HamletSpec.Heading
public Hamlet.OBJECT<T> h6(String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.OBJECT<T> h6(String selector, String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.UL<Hamlet.OBJECT<T>> ul()
HamletSpec.Listing
ul
in interface HamletSpec.Listing
public Hamlet.UL<Hamlet.OBJECT<T>> ul(String selector)
HamletSpec.Listing
ul
in interface HamletSpec.Listing
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.OL<Hamlet.OBJECT<T>> ol()
HamletSpec.Listing
ol
in interface HamletSpec.Listing
public Hamlet.OL<Hamlet.OBJECT<T>> ol(String selector)
HamletSpec.Listing
ol
in interface HamletSpec.Listing
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.PRE<Hamlet.OBJECT<T>> pre()
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
public Hamlet.PRE<Hamlet.OBJECT<T>> pre(String selector)
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.FORM<Hamlet.OBJECT<T>> form()
HamletSpec._Form
form
in interface HamletSpec._Form
public Hamlet.FORM<Hamlet.OBJECT<T>> form(String selector)
HamletSpec._Form
form
in interface HamletSpec._Form
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.FIELDSET<Hamlet.OBJECT<T>> fieldset()
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
public Hamlet.FIELDSET<Hamlet.OBJECT<T>> fieldset(String selector)
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.OBJECT<T> __(Object... lines)
HamletSpec._Content
__
in interface HamletSpec._Content
lines
- of contentpublic Hamlet.OBJECT<T> _r(Object... lines)
HamletSpec._RawContent
_r
in interface HamletSpec._RawContent
lines
- of contentpublic Hamlet.B<Hamlet.OBJECT<T>> b()
HamletSpec._FontStyle
b
in interface HamletSpec._FontStyle
public Hamlet.OBJECT<T> b(String cdata)
HamletSpec._FontStyle
b
in interface HamletSpec._FontStyle
cdata
- the contentpublic Hamlet.OBJECT<T> b(String selector, String cdata)
HamletSpec._FontStyle
b
in interface HamletSpec._FontStyle
selector
- the css select (#id)?(.class)*cdata
- the contentpublic Hamlet.I<Hamlet.OBJECT<T>> i()
HamletSpec._FontStyle
i
in interface HamletSpec._FontStyle
public Hamlet.OBJECT<T> i(String cdata)
HamletSpec._FontStyle
i
in interface HamletSpec._FontStyle
cdata
- the content of the elementpublic Hamlet.OBJECT<T> i(String selector, String cdata)
HamletSpec._FontStyle
i
in interface HamletSpec._FontStyle
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.SMALL<Hamlet.OBJECT<T>> small()
HamletSpec._FontSize
small
in interface HamletSpec._FontSize
public Hamlet.OBJECT<T> small(String cdata)
HamletSpec._FontSize
small
in interface HamletSpec._FontSize
cdata
- the content of the elementpublic Hamlet.OBJECT<T> small(String selector, String cdata)
HamletSpec._FontSize
small
in interface HamletSpec._FontSize
selector
- css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.OBJECT<T> em(String cdata)
HamletSpec.Phrase
em
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.EM<Hamlet.OBJECT<T>> em()
HamletSpec.Phrase
em
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> em(String selector, String cdata)
HamletSpec.Phrase
em
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.STRONG<Hamlet.OBJECT<T>> strong()
HamletSpec.Phrase
strong
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> strong(String cdata)
HamletSpec.Phrase
strong
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.OBJECT<T> strong(String selector, String cdata)
HamletSpec.Phrase
strong
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.DFN<Hamlet.OBJECT<T>> dfn()
HamletSpec.Phrase
dfn
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> dfn(String cdata)
HamletSpec.Phrase
dfn
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.OBJECT<T> dfn(String selector, String cdata)
HamletSpec.Phrase
dfn
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.CODE<Hamlet.OBJECT<T>> code()
HamletSpec.Phrase
code
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> code(String cdata)
HamletSpec.Phrase
code
in interface HamletSpec.Phrase
cdata
- the codepublic Hamlet.OBJECT<T> code(String selector, String cdata)
HamletSpec.Phrase
code
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the codepublic Hamlet.OBJECT<T> samp(String cdata)
HamletSpec.Phrase
samp
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.SAMP<Hamlet.OBJECT<T>> samp()
HamletSpec.Phrase
samp
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> samp(String selector, String cdata)
HamletSpec.Phrase
samp
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.KBD<Hamlet.OBJECT<T>> kbd()
HamletSpec.Phrase
kbd
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> kbd(String cdata)
HamletSpec.Phrase
kbd
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.OBJECT<T> kbd(String selector, String cdata)
HamletSpec.Phrase
kbd
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.VAR<Hamlet.OBJECT<T>> var()
HamletSpec.Phrase
var
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> var(String cdata)
HamletSpec.Phrase
var
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.OBJECT<T> var(String selector, String cdata)
HamletSpec.Phrase
var
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.CITE<Hamlet.OBJECT<T>> cite()
HamletSpec.Phrase
cite
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> cite(String cdata)
HamletSpec.Phrase
cite
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.OBJECT<T> cite(String selector, String cdata)
HamletSpec.Phrase
cite
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.ABBR<Hamlet.OBJECT<T>> abbr()
HamletSpec.Phrase
abbr
in interface HamletSpec.Phrase
public Hamlet.OBJECT<T> abbr(String cdata)
HamletSpec.Phrase
abbr
in interface HamletSpec.Phrase
cdata
- the contentpublic Hamlet.OBJECT<T> abbr(String selector, String cdata)
HamletSpec.Phrase
abbr
in interface HamletSpec.Phrase
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.A<Hamlet.OBJECT<T>> a()
HamletSpec._Anchor
a
in interface HamletSpec._Anchor
public Hamlet.A<Hamlet.OBJECT<T>> a(String selector)
HamletSpec._Anchor
a
in interface HamletSpec._Anchor
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.OBJECT<T> a(String href, String anchorText)
HamletSpec._Anchor
a().$href(href).__(anchorText).__();
a
in interface HamletSpec._Anchor
href
- the URIanchorText
- for the URIpublic Hamlet.OBJECT<T> a(String selector, String href, String anchorText)
HamletSpec._Anchor
a(selector).$href(href).__(anchorText).__();
a
in interface HamletSpec._Anchor
selector
- in the form of (#id)?(.class)*href
- the URIanchorText
- for the URIpublic Hamlet.IMG<Hamlet.OBJECT<T>> img()
HamletSpec._ImgObject
img
in interface HamletSpec._ImgObject
public Hamlet.OBJECT<T> img(String src)
HamletSpec._ImgObject
img
in interface HamletSpec._ImgObject
src
- the source URL of the imagepublic Hamlet.OBJECT<Hamlet.OBJECT<T>> object()
HamletSpec._Object
object
in interface HamletSpec._Object
public Hamlet.OBJECT<Hamlet.OBJECT<T>> object(String selector)
HamletSpec._Object
object
in interface HamletSpec._Object
selector
- as #id.class etc.public Hamlet.SUB<Hamlet.OBJECT<T>> sub()
HamletSpec._SubSup
sub
in interface HamletSpec._SubSup
public Hamlet.OBJECT<T> sub(String cdata)
HamletSpec._SubSup
sub
in interface HamletSpec._SubSup
cdata
- the contentpublic Hamlet.OBJECT<T> sub(String selector, String cdata)
HamletSpec._SubSup
sub
in interface HamletSpec._SubSup
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.SUP<Hamlet.OBJECT<T>> sup()
HamletSpec._SubSup
sup
in interface HamletSpec._SubSup
public Hamlet.OBJECT<T> sup(String cdata)
HamletSpec._SubSup
sup
in interface HamletSpec._SubSup
cdata
- the contentpublic Hamlet.OBJECT<T> sup(String selector, String cdata)
HamletSpec._SubSup
sup
in interface HamletSpec._SubSup
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.MAP<Hamlet.OBJECT<T>> map()
HamletSpec._Special
map
in interface HamletSpec._Special
public Hamlet.MAP<Hamlet.OBJECT<T>> map(String selector)
HamletSpec._Special
map
in interface HamletSpec._Special
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.OBJECT<T> q(String cdata)
HamletSpec._Special
q
in interface HamletSpec._Special
cdata
- the contentpublic Hamlet.OBJECT<T> q(String selector, String cdata)
HamletSpec._Special
q
in interface HamletSpec._Special
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.Q<Hamlet.OBJECT<T>> q()
HamletSpec._Special
q
in interface HamletSpec._Special
public Hamlet.BR<Hamlet.OBJECT<T>> br()
HamletSpec._Special
br
in interface HamletSpec._Special
public Hamlet.OBJECT<T> br(String selector)
HamletSpec._Special
br
in interface HamletSpec._Special
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.BDO<Hamlet.OBJECT<T>> bdo()
HamletSpec._Special
bdo
in interface HamletSpec._Special
public Hamlet.OBJECT<T> bdo(HamletSpec.Dir dir, String cdata)
HamletSpec._Special
bdo
in interface HamletSpec._Special
dir
- the direction of the textcdata
- the textpublic Hamlet.SPAN<Hamlet.OBJECT<T>> span()
HamletSpec._Special
span
in interface HamletSpec._Special
public Hamlet.OBJECT<T> span(String cdata)
HamletSpec._Special
span
in interface HamletSpec._Special
cdata
- the contentpublic Hamlet.OBJECT<T> span(String selector, String cdata)
HamletSpec._Special
span
in interface HamletSpec._Special
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.SCRIPT<Hamlet.OBJECT<T>> script()
HamletSpec._Script
script
in interface HamletSpec._Script
public Hamlet.OBJECT<T> script(String src)
HamletSpec._Script
script
in interface HamletSpec._Script
src
- uri of the scriptpublic Hamlet.INS<Hamlet.OBJECT<T>> ins()
HamletSpec._InsDel
ins
in interface HamletSpec._InsDel
public Hamlet.OBJECT<T> ins(String cdata)
HamletSpec._InsDel
ins
in interface HamletSpec._InsDel
cdata
- inserted datapublic Hamlet.DEL<Hamlet.OBJECT<T>> del()
HamletSpec._InsDel
del
in interface HamletSpec._InsDel
public Hamlet.OBJECT<T> del(String cdata)
HamletSpec._InsDel
del
in interface HamletSpec._InsDel
cdata
- deleted datapublic Hamlet.LABEL<Hamlet.OBJECT<T>> label()
HamletSpec._Label
label
in interface HamletSpec._Label
public Hamlet.OBJECT<T> label(String forId, String cdata)
HamletSpec._Label
label().$for(forId).__(cdata).__();
label
in interface HamletSpec._Label
forId
- the for attributecdata
- the contentpublic Hamlet.INPUT<Hamlet.OBJECT<T>> input(String selector)
HamletSpec._FormCtrl
input
in interface HamletSpec._FormCtrl
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.INPUT<Hamlet.OBJECT<T>> input()
HamletSpec._FormCtrl
input
in interface HamletSpec._FormCtrl
public Hamlet.SELECT<Hamlet.OBJECT<T>> select()
HamletSpec._FormCtrl
select
in interface HamletSpec._FormCtrl
public Hamlet.SELECT<Hamlet.OBJECT<T>> select(String selector)
HamletSpec._FormCtrl
select
in interface HamletSpec._FormCtrl
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.TEXTAREA<Hamlet.OBJECT<T>> textarea(String selector)
HamletSpec._FormCtrl
textarea
in interface HamletSpec._FormCtrl
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.TEXTAREA<Hamlet.OBJECT<T>> textarea()
HamletSpec._FormCtrl
textarea
in interface HamletSpec._FormCtrl
public Hamlet.OBJECT<T> textarea(String selector, String cdata)
HamletSpec._FormCtrl
textarea
in interface HamletSpec._FormCtrl
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentpublic Hamlet.BUTTON<Hamlet.OBJECT<T>> button()
HamletSpec._FormCtrl
button
in interface HamletSpec._FormCtrl
public Hamlet.BUTTON<Hamlet.OBJECT<T>> button(String selector)
HamletSpec._FormCtrl
button
in interface HamletSpec._FormCtrl
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.OBJECT<T> button(String selector, String cdata)
HamletSpec._FormCtrl
button
in interface HamletSpec._FormCtrl
selector
- the css selector in the form of (#id)*(.class)*cdata
- the contentCopyright © 2008–2024 Apache Software Foundation. All rights reserved.