Class Hamlet.OBJECT<T extends HamletSpec.__>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.OBJECT<T>
- All Implemented Interfaces:
HamletSpec.__,HamletSpec._Anchor,HamletSpec._Block,HamletSpec._Child,HamletSpec._Content,HamletSpec._FieldSet,HamletSpec._FontSize,HamletSpec._FontStyle,HamletSpec._Form,HamletSpec._FormCtrl,HamletSpec._ImgObject,HamletSpec._InsDel,HamletSpec._Label,HamletSpec._Object,HamletSpec._Param,HamletSpec._RawContent,HamletSpec._Script,HamletSpec._Special,HamletSpec._SubSup,HamletSpec.Attrs,HamletSpec.Block,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.Flow,HamletSpec.FontStyle,HamletSpec.FormCtrl,HamletSpec.Heading,HamletSpec.I18nAttrs,HamletSpec.Inline,HamletSpec.Listing,HamletSpec.OBJECT,HamletSpec.PCData,HamletSpec.Phrase,HamletSpec.Preformatted,HamletSpec.Special
- Enclosing class:
- Hamlet
public class Hamlet.OBJECT<T extends HamletSpec.__>
extends HamletImpl.EImp<T>
implements HamletSpec.OBJECT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEmbed a sub-view.Content of the elementRaw (no need to be HTML escaped) contentspace-separated list of classesreference to object's data$dir(HamletSpec.Dir value) direction for weak/neutral text$height(int value) override heightoverride heightdocument-wide unique idlanguage codesubmit as part of forma pointer button was clicked$ondblclick(String value) a pointer button was double clicked$onkeydown(String value) a key was pressed down$onkeypress(String value) a key was pressed and releaseda key was released$onmousedown(String value) a pointer button was pressed down$onmousemove(String value) a pointer was moved within$onmouseout(String value) a pointer was moved away$onmouseover(String value) a pointer was moved onto$onmouseup(String value) a pointer button was releasedassociated style info$tabindex(int value) position in tabbing orderadvisory titlecontent type for datause client-side image map$width(int value) override widthoverride widtha()Add a A (anchor) element.Add a A (anchor) element.Shortcut fora().Shortcut fora(selector).abbr()Add an ABBR (abbreviation) element.Add a ABBR (abbreviation) element.Add a ABBR (abbreviation) element.address()Add a ADDRESS element.Add a complete ADDRESS element.b()Add a new B (bold/important) element.Add a complete B (bold/important) element.Add a complete B (bold/important) element.bdo()Add a bdo (bidirectional override) elementbdo(HamletSpec.Dir dir, String cdata) Add a bdo (bidirectional override) elementAdd a BLOCKQUOTE element.bq()Alias of blockquotebr()Add a BR (line break) element.Add a BR (line break) element.button()Add a BUTTON element.Add a BUTTON element.Add a complete BUTTON element.cite()Add a CITE element.Add a CITE element.Add a CITE element.code()Add a CODE (code fragment) element.Add a complete CODE element.Add a complete CODE element.del()Add a DEL (delete) element.Add a complete DEL element.dfn()Add a DFN element.Add a complete DFN element.Add a complete DFN element.div()Add a DIV element.Add a DIV element.dl()Add a DL (description list) element.Add a DL element.em()Add an EM (emphasized) element.Add an EM (emphasized) element.Add an EM (emphasized) element.fieldset()Add a FIELDSET element.Add a FIELDSET element.form()Add a FORM element.Add a FORM element.h1()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.hr()Add a HR (horizontal rule) element.Add a HR element.i()Add an I (italic, alt voice/mood) element.Add a complete I (italic, alt voice/mood) element.Add a complete I (italic, alt voice/mood) element.img()Add a IMG (image) element.Add a IMG (image) element.input()Add a INPUT element.Add a INPUT element.ins()Add an INS (insert) element.Add a complete INS element.kbd()Add a KBD (keyboard) element.Add a KBD (keyboard) element.Add a KBD (keyboard) element.label()Add a LABEL element.Add a LABEL element.map()Add a MAP element.Add a MAP element.object()Add an object element.Add an object element.ol()Add a OL (ordered list) element.Add a OL (ordered list) element.p()Add a P (paragraph) element.Add a P (paragraph) element.param()Add a PARAM (parameter) element.Add a PARAM element.pre()Add a PRE (preformatted) element.Add a PRE (preformatted) element.q()Add a Q (inline quotation) element.Add a complete Q element.Add a Q element.samp()Add a SAMP (sample) element.Add a complete SAMP (sample) element.Add a complete SAMP (sample) element.script()Add a script element.Add a script elementselect()Add a SELECT element.Add a SELECT element.small()Add a SMALL (small print) elementAdd a complete small (small print) element.Add a complete small (small print) element.span()Add a SPAN element.Add a SPAN element.Add a SPAN element.strong()Add a STRONG (important) element.Add a complete STRONG (important) element.Add a complete STRONG (important) element.sub()Add a SUB (subscript) element.Add a complete SUB (subscript) element.Add a complete SUB (subscript) element.sup()Add a SUP (superscript) element.Add a SUP (superscript) element.Add a SUP (superscript) element.table()Add a TABLE element.Add a TABLE element.textarea()Add a TEXTAREA element.Add a TEXTAREA element.Add a complete TEXTAREA element.ul()Add a UL (unordered list) element.Add a UL (unordered list) element.var()Add a VAR (variable) element.Add a VAR (variable) element.Add a VAR (variable) element.Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__
-
Constructor Details
-
OBJECT
-
-
Method Details
-
$type
Description copied from interface:HamletSpec.OBJECTcontent type for data- Specified by:
$typein interfaceHamletSpec.OBJECT- Parameters:
value- the type- Returns:
- the current element builder
-
$name
Description copied from interface:HamletSpec.OBJECTsubmit as part of form- Specified by:
$namein interfaceHamletSpec.OBJECT- Parameters:
value- the name of the object- Returns:
- the current element builder
-
$tabindex
Description copied from interface:HamletSpec.OBJECTposition in tabbing order- Specified by:
$tabindexin interfaceHamletSpec.OBJECT- Parameters:
value- of the order- Returns:
- the current element builder
-
$data
Description copied from interface:HamletSpec.OBJECTreference to object's data- Specified by:
$datain interfaceHamletSpec.OBJECT- Parameters:
value- the URI- Returns:
- the current element builder
-
$height
Description copied from interface:HamletSpec.OBJECToverride height- Specified by:
$heightin interfaceHamletSpec.OBJECT- Parameters:
value- the height (can use %, *)- Returns:
- the current element builder
-
$height
Description copied from interface:HamletSpec.OBJECToverride height- Specified by:
$heightin interfaceHamletSpec.OBJECT- Parameters:
value- the height- Returns:
- the current element builder
-
$width
Description copied from interface:HamletSpec.OBJECToverride width- Specified by:
$widthin interfaceHamletSpec.OBJECT- Parameters:
value- the width- Returns:
- the current element builder
-
$width
Description copied from interface:HamletSpec.OBJECToverride width- Specified by:
$widthin interfaceHamletSpec.OBJECT- Parameters:
value- the height (can use %, *)- Returns:
- the current element builder
-
$usemap
Description copied from interface:HamletSpec.OBJECTuse client-side image map- Specified by:
$usemapin interfaceHamletSpec.OBJECT- Parameters:
value- the URI/name of the map- Returns:
- the current element builder
-
$id
Description copied from interface:HamletSpec.CoreAttrsdocument-wide unique id- Specified by:
$idin interfaceHamletSpec.CoreAttrs- Parameters:
value- the id- Returns:
- the current element builder
-
$class
Description copied from interface:HamletSpec.CoreAttrsspace-separated list of classes- Specified by:
$classin interfaceHamletSpec.CoreAttrs- Parameters:
value- the classes- Returns:
- the current element builder
-
$title
Description copied from interface:HamletSpec.CoreAttrsadvisory title- Specified by:
$titlein interfaceHamletSpec.CoreAttrs- Parameters:
value- the title- Returns:
- the current element builder
-
$style
Description copied from interface:HamletSpec.CoreAttrsassociated style info- Specified by:
$stylein interfaceHamletSpec.CoreAttrs- Parameters:
value- the style- Returns:
- the current element builder
-
$lang
Description copied from interface:HamletSpec.I18nAttrslanguage code- Specified by:
$langin interfaceHamletSpec.I18nAttrs- Parameters:
value- the code- Returns:
- the current element builder
-
$dir
Description copied from interface:HamletSpec.I18nAttrsdirection for weak/neutral text- Specified by:
$dirin interfaceHamletSpec.I18nAttrs- Parameters:
value- theHamletSpec.Dirvalue- Returns:
- the current element builder
-
$onclick
Description copied from interface:HamletSpec.EventsAttrsa pointer button was clicked- Specified by:
$onclickin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$ondblclick
Description copied from interface:HamletSpec.EventsAttrsa pointer button was double clicked- Specified by:
$ondblclickin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmousedown
Description copied from interface:HamletSpec.EventsAttrsa pointer button was pressed down- Specified by:
$onmousedownin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmouseup
Description copied from interface:HamletSpec.EventsAttrsa pointer button was released- Specified by:
$onmouseupin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmouseover
Description copied from interface:HamletSpec.EventsAttrsa pointer was moved onto- Specified by:
$onmouseoverin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmousemove
Description copied from interface:HamletSpec.EventsAttrsa pointer was moved within- Specified by:
$onmousemovein interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmouseout
Description copied from interface:HamletSpec.EventsAttrsa pointer was moved away- Specified by:
$onmouseoutin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onkeypress
Description copied from interface:HamletSpec.EventsAttrsa key was pressed and released- Specified by:
$onkeypressin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onkeydown
Description copied from interface:HamletSpec.EventsAttrsa key was pressed down- Specified by:
$onkeydownin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onkeyup
Description copied from interface:HamletSpec.EventsAttrsa key was released- Specified by:
$onkeyupin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
param
Description copied from interface:HamletSpec._ParamAdd a PARAM (parameter) element.- Specified by:
paramin interfaceHamletSpec._Param- Returns:
- a new PARAM element builder
-
param
Description copied from interface:HamletSpec._ParamAdd a PARAM element. Shortcut ofparam().$name(name).$value(value).__();- Specified by:
paramin interfaceHamletSpec._Param- Parameters:
name- of the valuevalue- the value- Returns:
- the current element builder
-
table
Description copied from interface:HamletSpec._BlockAdd a TABLE element.- Specified by:
tablein interfaceHamletSpec._Block- Returns:
- a new TABLE element builder
-
table
Description copied from interface:HamletSpec._BlockAdd a TABLE element.- Specified by:
tablein interfaceHamletSpec._Block- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new TABLE element builder
-
address
Description copied from interface:HamletSpec._BlockAdd a complete ADDRESS element.- Specified by:
addressin interfaceHamletSpec._Block- Parameters:
cdata- the content- Returns:
- the current element builder
-
address
Description copied from interface:HamletSpec._BlockAdd a ADDRESS element.- Specified by:
addressin interfaceHamletSpec._Block- Returns:
- a new ADDRESS element builder
-
p
Description copied from interface:HamletSpec._BlockAdd a P (paragraph) element.- Specified by:
pin interfaceHamletSpec._Block- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new P element builder
-
p
Description copied from interface:HamletSpec._BlockAdd a P (paragraph) element.- Specified by:
pin interfaceHamletSpec._Block- Returns:
- a new P element builder
-
__
Description copied from interface:HamletSpec._BlockEmbed a sub-view.- Specified by:
__in interfaceHamletSpec._Block- Parameters:
cls- the sub-view class- Returns:
- the current element builder
-
hr
Description copied from interface:HamletSpec._BlockAdd a HR (horizontal rule) element.- Specified by:
hrin interfaceHamletSpec._Block- Returns:
- a new HR element builder
-
hr
Description copied from interface:HamletSpec._BlockAdd a HR element.- Specified by:
hrin interfaceHamletSpec._Block- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new HR element builder
-
dl
Description copied from interface:HamletSpec._BlockAdd a DL element.- Specified by:
dlin interfaceHamletSpec._Block- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new DL element builder
-
dl
Description copied from interface:HamletSpec._BlockAdd a DL (description list) element.- Specified by:
dlin interfaceHamletSpec._Block- Returns:
- a new DL element builder
-
div
Description copied from interface:HamletSpec._BlockAdd a DIV element.- Specified by:
divin interfaceHamletSpec._Block- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new DIV element builder
-
div
Description copied from interface:HamletSpec._BlockAdd a DIV element.- Specified by:
divin interfaceHamletSpec._Block- Returns:
- a new DIV element builder
-
blockquote
Description copied from interface:HamletSpec._BlockAdd a BLOCKQUOTE element.- Specified by:
blockquotein interfaceHamletSpec._Block- Returns:
- a new BLOCKQUOTE element builder
-
bq
Description copied from interface:HamletSpec._BlockAlias of blockquote- Specified by:
bqin interfaceHamletSpec._Block- Returns:
- a new BLOCKQUOTE element builder
-
h1
Description copied from interface:HamletSpec.HeadingAdd a complete H1 element.- Specified by:
h1in interfaceHamletSpec.Heading- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h1
Description copied from interface:HamletSpec.HeadingAdd an H1 element.- Specified by:
h1in interfaceHamletSpec.Heading- Returns:
- a new H1 element builder
-
h1
Description copied from interface:HamletSpec.HeadingAdd a complete H1 element- Specified by:
h1in interfaceHamletSpec.Heading- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h2
Description copied from interface:HamletSpec.HeadingAdd a complete H2 element.- Specified by:
h2in interfaceHamletSpec.Heading- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h2
Description copied from interface:HamletSpec.HeadingAdd an H2 element.- Specified by:
h2in interfaceHamletSpec.Heading- Returns:
- a new H2 element builder
-
h2
Description copied from interface:HamletSpec.HeadingAdd a complete H1 element- Specified by:
h2in interfaceHamletSpec.Heading- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h3
Description copied from interface:HamletSpec.HeadingAdd an H3 element.- Specified by:
h3in interfaceHamletSpec.Heading- Returns:
- a new H3 element builder
-
h3
Description copied from interface:HamletSpec.HeadingAdd a complete H3 element.- Specified by:
h3in interfaceHamletSpec.Heading- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h3
Description copied from interface:HamletSpec.HeadingAdd a complete H1 element- Specified by:
h3in interfaceHamletSpec.Heading- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h4
Description copied from interface:HamletSpec.HeadingAdd an H4 element.- Specified by:
h4in interfaceHamletSpec.Heading- Returns:
- a new H4 element builder
-
h4
Description copied from interface:HamletSpec.HeadingAdd a complete H4 element.- Specified by:
h4in interfaceHamletSpec.Heading- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h4
Description copied from interface:HamletSpec.HeadingAdd a complete H4 element- Specified by:
h4in interfaceHamletSpec.Heading- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h5
Description copied from interface:HamletSpec.HeadingAdd an H5 element.- Specified by:
h5in interfaceHamletSpec.Heading- Returns:
- a new H5 element builder
-
h5
Description copied from interface:HamletSpec.HeadingAdd a complete H5 element.- Specified by:
h5in interfaceHamletSpec.Heading- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h5
Description copied from interface:HamletSpec.HeadingAdd a complete H5 element- Specified by:
h5in interfaceHamletSpec.Heading- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
h6
Description copied from interface:HamletSpec.HeadingAdd an H6 element.- Specified by:
h6in interfaceHamletSpec.Heading- Returns:
- a new H6 element builder
-
h6
Description copied from interface:HamletSpec.HeadingAdd a complete H6 element.- Specified by:
h6in interfaceHamletSpec.Heading- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
h6
Description copied from interface:HamletSpec.HeadingAdd a complete H6 element.- Specified by:
h6in interfaceHamletSpec.Heading- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
ul
Description copied from interface:HamletSpec.ListingAdd a UL (unordered list) element.- Specified by:
ulin interfaceHamletSpec.Listing- Returns:
- a new UL element builder
-
ul
Description copied from interface:HamletSpec.ListingAdd a UL (unordered list) element.- Specified by:
ulin interfaceHamletSpec.Listing- Parameters:
selector- the css selector in the form of (#id)?(.class)*- Returns:
- a new UL element builder
-
ol
Description copied from interface:HamletSpec.ListingAdd a OL (ordered list) element.- Specified by:
olin interfaceHamletSpec.Listing- Returns:
- a new UL element builder
-
ol
Description copied from interface:HamletSpec.ListingAdd a OL (ordered list) element.- Specified by:
olin interfaceHamletSpec.Listing- Parameters:
selector- the css selector in the form of (#id)?(.class)*- Returns:
- a new UL element builder
-
pre
Description copied from interface:HamletSpec.PreformattedAdd a PRE (preformatted) element.- Specified by:
prein interfaceHamletSpec.Preformatted- Returns:
- a new PRE element builder
-
pre
Description copied from interface:HamletSpec.PreformattedAdd a PRE (preformatted) element.- Specified by:
prein interfaceHamletSpec.Preformatted- Parameters:
selector- the css selector in the form of (#id)?(.class)*- Returns:
- a new PRE element builder
-
form
Description copied from interface:HamletSpec._FormAdd a FORM element.- Specified by:
formin interfaceHamletSpec._Form- Returns:
- a new FORM element builder
-
form
Description copied from interface:HamletSpec._FormAdd a FORM element.- Specified by:
formin interfaceHamletSpec._Form- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new FORM element builder
-
fieldset
Description copied from interface:HamletSpec._FieldSetAdd a FIELDSET element.- Specified by:
fieldsetin interfaceHamletSpec._FieldSet- Returns:
- a new FIELDSET element builder
-
fieldset
Description copied from interface:HamletSpec._FieldSetAdd a FIELDSET element.- Specified by:
fieldsetin interfaceHamletSpec._FieldSet- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new FIELDSET element builder
-
__
Description copied from interface:HamletSpec._ContentContent of the element- Specified by:
__in interfaceHamletSpec._Content- Parameters:
lines- of content- Returns:
- the current element builder
-
_r
Description copied from interface:HamletSpec._RawContentRaw (no need to be HTML escaped) content- Specified by:
_rin interfaceHamletSpec._RawContent- Parameters:
lines- of content- Returns:
- the current element builder
-
b
Description copied from interface:HamletSpec._FontStyleAdd a new B (bold/important) element.- Specified by:
bin interfaceHamletSpec._FontStyle- Returns:
- a new B element builder
-
b
Description copied from interface:HamletSpec._FontStyleAdd a complete B (bold/important) element.- Specified by:
bin interfaceHamletSpec._FontStyle- Parameters:
cdata- the content- Returns:
- the current element builder
-
b
Description copied from interface:HamletSpec._FontStyleAdd a complete B (bold/important) element.- Specified by:
bin interfaceHamletSpec._FontStyle- Parameters:
selector- the css select (#id)?(.class)*cdata- the content- Returns:
- the current element builder
-
i
Description copied from interface:HamletSpec._FontStyleAdd an I (italic, alt voice/mood) element.- Specified by:
iin interfaceHamletSpec._FontStyle- Returns:
- the new I element builder
-
i
Description copied from interface:HamletSpec._FontStyleAdd a complete I (italic, alt voice/mood) element.- Specified by:
iin interfaceHamletSpec._FontStyle- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
i
Description copied from interface:HamletSpec._FontStyleAdd a complete I (italic, alt voice/mood) element.- Specified by:
iin interfaceHamletSpec._FontStyle- Parameters:
selector- the css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
small
Description copied from interface:HamletSpec._FontSizeAdd a SMALL (small print) element- Specified by:
smallin interfaceHamletSpec._FontSize- Returns:
- a new SMALL element builder
-
small
Description copied from interface:HamletSpec._FontSizeAdd a complete small (small print) element. Shortcut of: small().__(cdata).__();- Specified by:
smallin interfaceHamletSpec._FontSize- Parameters:
cdata- the content of the element- Returns:
- the current element builder
-
small
Description copied from interface:HamletSpec._FontSizeAdd a complete small (small print) element. Shortcut of: small().$id(id).$class(class).__(cdata).__();- Specified by:
smallin interfaceHamletSpec._FontSize- Parameters:
selector- css selector in the form of (#id)?(.class)*cdata- the content of the element- Returns:
- the current element builder
-
em
Description copied from interface:HamletSpec.PhraseAdd an EM (emphasized) element.- Specified by:
emin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
em
Description copied from interface:HamletSpec.PhraseAdd an EM (emphasized) element.- Specified by:
emin interfaceHamletSpec.Phrase- Returns:
- a new EM element builder
-
em
Description copied from interface:HamletSpec.PhraseAdd an EM (emphasized) element.- Specified by:
emin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
strong
Description copied from interface:HamletSpec.PhraseAdd a STRONG (important) element.- Specified by:
strongin interfaceHamletSpec.Phrase- Returns:
- a new STRONG element builder
-
strong
Description copied from interface:HamletSpec.PhraseAdd a complete STRONG (important) element.- Specified by:
strongin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
strong
Description copied from interface:HamletSpec.PhraseAdd a complete STRONG (important) element.- Specified by:
strongin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
dfn
Description copied from interface:HamletSpec.PhraseAdd a DFN element.- Specified by:
dfnin interfaceHamletSpec.Phrase- Returns:
- a new DFN element builder
-
dfn
Description copied from interface:HamletSpec.PhraseAdd a complete DFN element.- Specified by:
dfnin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
dfn
Description copied from interface:HamletSpec.PhraseAdd a complete DFN element.- Specified by:
dfnin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
code
Description copied from interface:HamletSpec.PhraseAdd a CODE (code fragment) element.- Specified by:
codein interfaceHamletSpec.Phrase- Returns:
- a new CODE element builder
-
code
Description copied from interface:HamletSpec.PhraseAdd a complete CODE element.- Specified by:
codein interfaceHamletSpec.Phrase- Parameters:
cdata- the code- Returns:
- the current element builder
-
code
Description copied from interface:HamletSpec.PhraseAdd a complete CODE element.- Specified by:
codein interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the code- Returns:
- the current element builder
-
samp
Description copied from interface:HamletSpec.PhraseAdd a complete SAMP (sample) element.- Specified by:
sampin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
samp
Description copied from interface:HamletSpec.PhraseAdd a SAMP (sample) element.- Specified by:
sampin interfaceHamletSpec.Phrase- Returns:
- a new SAMP element builder
-
samp
Description copied from interface:HamletSpec.PhraseAdd a complete SAMP (sample) element.- Specified by:
sampin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
kbd
Description copied from interface:HamletSpec.PhraseAdd a KBD (keyboard) element.- Specified by:
kbdin interfaceHamletSpec.Phrase- Returns:
- a new KBD element builder
-
kbd
Description copied from interface:HamletSpec.PhraseAdd a KBD (keyboard) element.- Specified by:
kbdin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
kbd
Description copied from interface:HamletSpec.PhraseAdd a KBD (keyboard) element.- Specified by:
kbdin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
var
Description copied from interface:HamletSpec.PhraseAdd a VAR (variable) element.- Specified by:
varin interfaceHamletSpec.Phrase- Returns:
- a new VAR element builder
-
var
Description copied from interface:HamletSpec.PhraseAdd a VAR (variable) element.- Specified by:
varin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
var
Description copied from interface:HamletSpec.PhraseAdd a VAR (variable) element.- Specified by:
varin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
cite
Description copied from interface:HamletSpec.PhraseAdd a CITE element.- Specified by:
citein interfaceHamletSpec.Phrase- Returns:
- a new CITE element builder
-
cite
Description copied from interface:HamletSpec.PhraseAdd a CITE element.- Specified by:
citein interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
cite
Description copied from interface:HamletSpec.PhraseAdd a CITE element.- Specified by:
citein interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
abbr
Description copied from interface:HamletSpec.PhraseAdd an ABBR (abbreviation) element.- Specified by:
abbrin interfaceHamletSpec.Phrase- Returns:
- a new ABBR element builder
-
abbr
Description copied from interface:HamletSpec.PhraseAdd a ABBR (abbreviation) element.- Specified by:
abbrin interfaceHamletSpec.Phrase- Parameters:
cdata- the content- Returns:
- the current element builder
-
abbr
Description copied from interface:HamletSpec.PhraseAdd a ABBR (abbreviation) element.- Specified by:
abbrin interfaceHamletSpec.Phrase- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
a
Description copied from interface:HamletSpec._AnchorAdd a A (anchor) element.- Specified by:
ain interfaceHamletSpec._Anchor- Returns:
- a new A element builder
-
a
Description copied from interface:HamletSpec._AnchorAdd a A (anchor) element.- Specified by:
ain interfaceHamletSpec._Anchor- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new A element builder
-
a
Description copied from interface:HamletSpec._AnchorShortcut fora().$href(href).__(anchorText).__();- Specified by:
ain interfaceHamletSpec._Anchor- Parameters:
href- the URIanchorText- for the URI- Returns:
- the current element builder
-
a
Description copied from interface:HamletSpec._AnchorShortcut fora(selector).$href(href).__(anchorText).__();- Specified by:
ain interfaceHamletSpec._Anchor- Parameters:
selector- in the form of (#id)?(.class)*href- the URIanchorText- for the URI- Returns:
- the current element builder
-
img
Description copied from interface:HamletSpec._ImgObjectAdd a IMG (image) element.- Specified by:
imgin interfaceHamletSpec._ImgObject- Returns:
- a new IMG element builder
-
img
Description copied from interface:HamletSpec._ImgObjectAdd a IMG (image) element.- Specified by:
imgin interfaceHamletSpec._ImgObject- Parameters:
src- the source URL of the image- Returns:
- the current element builder
-
object
Description copied from interface:HamletSpec._ObjectAdd an object element.- Specified by:
objectin interfaceHamletSpec._Object- Returns:
- an object element builder
-
object
Description copied from interface:HamletSpec._ObjectAdd an object element.- Specified by:
objectin interfaceHamletSpec._Object- Parameters:
selector- as #id.class etc.- Returns:
- an object element builder
-
sub
Description copied from interface:HamletSpec._SubSupAdd a SUB (subscript) element.- Specified by:
subin interfaceHamletSpec._SubSup- Returns:
- a new SUB element builder
-
sub
Description copied from interface:HamletSpec._SubSupAdd a complete SUB (subscript) element.- Specified by:
subin interfaceHamletSpec._SubSup- Parameters:
cdata- the content- Returns:
- the current element builder
-
sub
Description copied from interface:HamletSpec._SubSupAdd a complete SUB (subscript) element.- Specified by:
subin interfaceHamletSpec._SubSup- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
sup
Description copied from interface:HamletSpec._SubSupAdd a SUP (superscript) element.- Specified by:
supin interfaceHamletSpec._SubSup- Returns:
- a new SUP element builder
-
sup
Description copied from interface:HamletSpec._SubSupAdd a SUP (superscript) element.- Specified by:
supin interfaceHamletSpec._SubSup- Parameters:
cdata- the content- Returns:
- the current element builder
-
sup
Description copied from interface:HamletSpec._SubSupAdd a SUP (superscript) element.- Specified by:
supin interfaceHamletSpec._SubSup- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
map
Description copied from interface:HamletSpec._SpecialAdd a MAP element.- Specified by:
mapin interfaceHamletSpec._Special- Returns:
- a new MAP element builder
-
map
Description copied from interface:HamletSpec._SpecialAdd a MAP element.- Specified by:
mapin interfaceHamletSpec._Special- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new MAP element builder
-
q
Description copied from interface:HamletSpec._SpecialAdd a complete Q element.- Specified by:
qin interfaceHamletSpec._Special- Parameters:
cdata- the content- Returns:
- the current element builder
-
q
Description copied from interface:HamletSpec._SpecialAdd a Q element.- Specified by:
qin interfaceHamletSpec._Special- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
q
Description copied from interface:HamletSpec._SpecialAdd a Q (inline quotation) element.- Specified by:
qin interfaceHamletSpec._Special- Returns:
- a q (inline quotation) element builder
-
br
Description copied from interface:HamletSpec._SpecialAdd a BR (line break) element.- Specified by:
brin interfaceHamletSpec._Special- Returns:
- a new BR element builder
-
br
Description copied from interface:HamletSpec._SpecialAdd a BR (line break) element.- Specified by:
brin interfaceHamletSpec._Special- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- the current element builder
-
bdo
Description copied from interface:HamletSpec._SpecialAdd a bdo (bidirectional override) element- Specified by:
bdoin interfaceHamletSpec._Special- Returns:
- a bdo element builder
-
bdo
Description copied from interface:HamletSpec._SpecialAdd a bdo (bidirectional override) element- Specified by:
bdoin interfaceHamletSpec._Special- Parameters:
dir- the direction of the textcdata- the text- Returns:
- the current element builder
-
span
Description copied from interface:HamletSpec._SpecialAdd a SPAN element.- Specified by:
spanin interfaceHamletSpec._Special- Returns:
- a new SPAN element builder
-
span
Description copied from interface:HamletSpec._SpecialAdd a SPAN element.- Specified by:
spanin interfaceHamletSpec._Special- Parameters:
cdata- the content- Returns:
- the current element builder
-
span
Description copied from interface:HamletSpec._SpecialAdd a SPAN element.- Specified by:
spanin interfaceHamletSpec._Special- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
script
Description copied from interface:HamletSpec._ScriptAdd a script element.- Specified by:
scriptin interfaceHamletSpec._Script- Returns:
- a script element builder
-
script
Description copied from interface:HamletSpec._ScriptAdd a script element- Specified by:
scriptin interfaceHamletSpec._Script- Parameters:
src- uri of the script- Returns:
- the current element builder
-
ins
Description copied from interface:HamletSpec._InsDelAdd an INS (insert) element.- Specified by:
insin interfaceHamletSpec._InsDel- Returns:
- an INS element builder
-
ins
Description copied from interface:HamletSpec._InsDelAdd a complete INS element.- Specified by:
insin interfaceHamletSpec._InsDel- Parameters:
cdata- inserted data- Returns:
- the current element builder
-
del
Description copied from interface:HamletSpec._InsDelAdd a DEL (delete) element.- Specified by:
delin interfaceHamletSpec._InsDel- Returns:
- a DEL element builder
-
del
Description copied from interface:HamletSpec._InsDelAdd a complete DEL element.- Specified by:
delin interfaceHamletSpec._InsDel- Parameters:
cdata- deleted data- Returns:
- the current element builder
-
label
Description copied from interface:HamletSpec._LabelAdd a LABEL element.- Specified by:
labelin interfaceHamletSpec._Label- Returns:
- a new LABEL element builder
-
label
Description copied from interface:HamletSpec._LabelAdd a LABEL element. Shortcut oflabel().$for(forId).__(cdata).__();- Specified by:
labelin interfaceHamletSpec._Label- Parameters:
forId- the for attributecdata- the content- Returns:
- the current element builder
-
input
Description copied from interface:HamletSpec._FormCtrlAdd a INPUT element.- Specified by:
inputin interfaceHamletSpec._FormCtrl- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new INPUT element builder
-
input
Description copied from interface:HamletSpec._FormCtrlAdd a INPUT element.- Specified by:
inputin interfaceHamletSpec._FormCtrl- Returns:
- a new INPUT element builder
-
select
Description copied from interface:HamletSpec._FormCtrlAdd a SELECT element.- Specified by:
selectin interfaceHamletSpec._FormCtrl- Returns:
- a new SELECT element builder
-
select
Description copied from interface:HamletSpec._FormCtrlAdd a SELECT element.- Specified by:
selectin interfaceHamletSpec._FormCtrl- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new SELECT element builder
-
textarea
Description copied from interface:HamletSpec._FormCtrlAdd a TEXTAREA element.- Specified by:
textareain interfaceHamletSpec._FormCtrl- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new TEXTAREA element builder
-
textarea
Description copied from interface:HamletSpec._FormCtrlAdd a TEXTAREA element.- Specified by:
textareain interfaceHamletSpec._FormCtrl- Returns:
- a new TEXTAREA element builder
-
textarea
Description copied from interface:HamletSpec._FormCtrlAdd a complete TEXTAREA element.- Specified by:
textareain interfaceHamletSpec._FormCtrl- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-
button
Description copied from interface:HamletSpec._FormCtrlAdd a BUTTON element.- Specified by:
buttonin interfaceHamletSpec._FormCtrl- Returns:
- a new BUTTON element builder
-
button
Description copied from interface:HamletSpec._FormCtrlAdd a BUTTON element.- Specified by:
buttonin interfaceHamletSpec._FormCtrl- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new BUTTON element builder
-
button
Description copied from interface:HamletSpec._FormCtrlAdd a complete BUTTON element.- Specified by:
buttonin interfaceHamletSpec._FormCtrl- Parameters:
selector- the css selector in the form of (#id)*(.class)*cdata- the content- Returns:
- the current element builder
-