Class HtmlBuilder
The HtmlBuilder class contains lots of static creator methods to minimize the amount of code needed to produce HTML DOMs. Instead of using constructors directly, you can use these static methods for more concise code.
Examples:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Aa()Creates an emptyAelement.static final Astatic final Abbrabbr()Creates an emptyAbbrelement.static final AbbrCreates anAbbrelement with the specifiedAbbr.title(String)attribute andAbbr.children(Object[])nodes.static final Addressaddress()Creates an emptyAddresselement.static final AddressCreates anAddresselement with the specified child nodes.static final Areaarea()Creates an emptyAreaelement.static final AreaCreates anAreaelement with the specifiedArea.shape(String),Area.coords(String), andArea.href(Object)attributes.static final Articlearticle()Creates an emptyArticleelement.static final ArticleCreates anArticleelement with the specified child nodes.static final Asideaside()Creates an emptyAsideelement.static final AsideCreates anAsideelement with the specified child nodes.static final Audioaudio()Creates an emptyAudioelement.static final AudioCreates anAudioelement with the specifiedAudio.src(Object)attribute.static final Bb()Creates an emptyBelement.static final BCreates aBelement with the specified child nodes.static final Basebase()Creates an emptyBaseelement.static final BaseCreates aBaseelement with the specifiedBase.href(Object)attribute.static final Bdibdi()Creates an emptyBdielement.static final BdiCreates aBdielement with the specifiedBdi.text(Object)node.static final Bdobdo()Creates an emptyBdoelement.static final BdoCreates aBdoelement with the specifiedBdo.dir(String)attribute and child nodes.static final BlockquoteCreates an emptyBlockquoteelement.static final Blockquoteblockquote(Object... children) Creates aBlockquoteelement with the specified child nodes.static final Bodybody()Creates an emptyBodyelement.static final BodyCreates aBodyelement with the specified child nodes.static final Brbr()Creates an emptyBrelement.static final Buttonbutton()Creates an emptyButtonelement.static final ButtonCreates aButtonelement with the specifiedButton.type(String)attribute.static final ButtonCreates aButtonelement with the specifiedButton.type(String)attribute andButton.children(Object[])nodes.static final Canvascanvas()Creates an emptyCanvaselement.static final CanvasCreates aCanvaselement with the specifiedCanvas.width(Object)andCanvas.height(Object)attributes.static final Captioncaption()Creates an emptyCaptionelement.static final CaptionCreates aCaptionelement with the specified child nodes.static final Citecite()Creates an emptyCiteelement.static final CiteCreates aCiteelement with the specified child nodes.static final Codecode()Creates an emptyCodeelement.static final CodeCreates aCodeelement with the specified child nodes.static final Colcol()Creates an emptyColelement.static final ColCreates aColelement with the specifiedCol.span(Object)attribute.static final Colgroupcolgroup()Creates an emptyColgroupelement.static final ColgroupCreates aColgroupelement with the specified child nodes.static final Datadata()Creates an emptyDataelement.static final DataCreates aDataelement with the specifiedData.value(Object)attribute and child node.static final Datalistdatalist()Creates an emptyDatalistelement.static final DatalistCreates aDatalistelement with the specifiedDatalist.id(String)attribute and child nodes.static final Dddd()Creates an emptyDdelement.static final DdCreates aDdelement with the specified child nodes.static final Deldel()Creates an emptyDelelement.static final DelCreates aDelelement with the specifiedDel.children(Object[])node.static final Dfndfn()Creates an emptyDfnelement.static final DfnCreates aDfnelement with the specified child nodes.static final Divdiv()Creates an emptyDivelement.static final DivCreates aDivelement with the specified child nodes.static final Dldl()Creates an emptyDlelement.static final DlCreates aDlelement with the specified child nodes.static final Dtdt()Creates an emptyDtelement.static final DtCreates aDtelement with the specified child nodes.static final Emem()Creates an emptyEmelement.static final EmCreates anEmelement with the specifiedEm.children(Object[])nodes.static final Embedembed()Creates an emptyEmbedelement.static final EmbedCreates anEmbedelement with the specifiedEmbed.src(Object)attribute.static final Fieldsetfieldset()Creates an emptyFieldsetelement.static final FieldsetCreates aFieldsetelement with the specified child nodes.static final FigcaptionCreates an emptyFigcaptionelement.static final Figcaptionfigcaption(Object... children) Creates aFigcaptionelement with the specified child nodes.static final Figurefigure()Creates an emptyFigureelement.static final FigureCreates aFigureelement with the specified child nodes.static final Footerfooter()Creates an emptyFooterelement.static final FooterCreates aFooterelement with the specified child nodes.static final Formform()Creates an emptyFormelement.static final FormCreates aFormelement with the specifiedForm.action(String)attribute.static final FormCreates anFormelement with the specifiedForm.action(String)attribute and child nodes.static final H1h1()Creates an emptyH1element.static final H1Creates anH1element with the specified child nodes.static final H2h2()Creates an emptyH2element.static final H2Creates anH2element with the specified child nodes.static final H3h3()Creates an emptyH3element.static final H3Creates anH3element with the specified child nodes.static final H4h4()Creates an emptyH4element.static final H4Creates anH4element with the specified child nodes.static final H5h5()Creates an emptyH5element.static final H5Creates anH5element with the specified child nodes.static final H6h6()Creates an emptyH6element.static final H6Creates anH6element with the specified child nodes.static final Headhead()Creates an emptyHeadelement.static final HeadCreates aHeadelement with the specified child nodes.static final Headerheader()Creates an emptyHeaderelement.static final HeaderCreates aHeaderelement with the specified child nodes.static final Hrhr()Creates an emptyHrelement.static final Htmlhtml()Creates an emptyHtmlelement.static final HtmlCreates anHtmlelement with the specified child nodes.static final Ii()Creates an emptyIelement.static final ICreates anIelement with the specified child nodes.static final Iframeiframe()Creates an emptyIframeelement.static final IframeCreates anIframeelement with the specified child nodes.static final Imgimg()Creates an emptyImgelement.static final ImgCreates anImgelement with the specifiedImg.src(Object)attribute.static final Inputinput()Creates an emptyInputelement.static final InputCreates anInputelement with the specifiedInput.type(String)attribute.static final Insins()Creates an emptyInselement.static final InsCreates anInselement with the specified child nodes.static final Kbdkbd()Creates an emptyKbdelement.static final KbdCreates aKbdelement with the specified child nodes.static final Keygenkeygen()Creates an emptyKeygenelement.static final Labellabel()Creates an emptyLabelelement.static final LabelCreates aLabelelement with the specified child nodes.static final Legendlegend()Creates an emptyLegendelement.static final LegendCreates aLegendelement with the specified child nodes.static final Lili()Creates an emptyLielement.static final LiCreates anLielement with the specified child nodes.static final Linklink()Creates an emptyLinkelement.static final LinkCreates aLinkelement with the specifiedLink.href(Object)attribute.static final Mainmain()Creates an emptyMainelement.static final MainCreates aMainelement with the specified child nodes.static final Mapmap()Creates an emptyMapelement.static final MapCreates aMapelement with the specified child nodes.static final Markmark()Creates an emptyMarkelement.static final MarkCreates aMarkelement with the specified child nodes.static final Metameta()Creates an emptyMetaelement.static final Metermeter()Creates an emptyMeterelement.static final MeterCreates aMeterelement with the specified child nodes.static final Navnav()Creates an emptyNavelement.static final NavCreates aNavelement with the specified child nodes.static final Noscriptnoscript()Creates an emptyNoscriptelement.static final NoscriptCreates aNoscriptelement with the specified child nodes.static final Object_object()Creates an emptyObject_element.static final Object_Creates anObject_element with the specified child nodes.static final Olol()Creates an emptyOlelement.static final OlCreates anOlelement with the specified child nodes.static final Optgroupoptgroup()Creates an emptyOptgroupelement.static final OptgroupCreates anOptgroupelement with the specified child nodes.static final Optionoption()Creates an emptyOptionelement.static final OptionCreates anOptionelement with the specifiedOption.text(Object)attribute.static final OptionCreates anOptionelement with the specifiedOption.value(Object)attribute andOption.text(Object)node.static final Outputoutput()Creates an emptyOutputelement.static final OutputCreates anOutputelement with the specifiedOutput.name(String)attribute.static final Pp()Creates an emptyPelement.static final PCreates aPelement with the specified child nodes.static final Paramparam()Creates an emptyParamelement.static final Paramstatic final Prepre()Creates an emptyPreelement.static final PreCreates aPreelement with the specified child nodes.static final Progressprogress()Creates an emptyProgresselement.static final ProgressCreates aProgresselement with the specified child nodes.static final Qq()Creates an emptyQelement.static final QCreates aQelement with the specified child nodes.static final Rbrb()Creates an emptyRbelement.static final RbCreates aRbelement with the specifiedRb.children(Object[])nodes.static final Rprp()Creates an emptyRpelement.static final RpCreates aRpelement with the specifiedRp.children(Object[])nodes.static final Rtrt()Creates an emptyRtelement.static final RtCreates aRtelement with the specifiedRt.children(Object[])nodes.static final Rtcrtc()Creates an emptyRtcelement.static final RtcCreates anRtcelement with the specified child nodes.static final Rubyruby()Creates an emptyRubyelement.static final RubyCreates aRubyelement with the specified child nodes.static final Ss()Creates an emptySelement.static final SCreates anSelement with the specified child nodes.static final Sampsamp()Creates an emptySampelement.static final SampCreates aSampelement with the specified child nodes.static final Scriptscript()Creates an emptyScriptelement.static final ScriptCreates aScriptelement with the specifiedScript.type(String)attribute andScript.text(Object)node.static final Sectionsection()Creates an emptySectionelement.static final SectionCreates aSectionelement with the specified child nodes.static final Selectselect()Creates an emptySelectelement.static final SelectCreates aSelectelement with the specifiedSelect.name(String)attribute and child nodes.static final Smallsmall()Creates an emptySmallelement.static final SmallCreates aSmallelement with the specified child nodes.static final Sourcesource()Creates an emptySourceelement.static final Sourcestatic final Spanspan()Creates an emptySpanelement.static final SpanCreates aSpanelement with the specified child nodes.static final Strongstrong()Creates an emptyStrongelement.static final StrongCreates aStrongelement with the specified child nodes.static final Stylestyle()Creates an emptyStyleelement.static final StyleCreates aStyleelement with the specifiedStyle.text(Object)node.static final StyleCreates aStyleelement with the specified inner text.static final Subsub()Creates an emptySubelement.static final SubCreates aSubelement with the specified child nodes.static final Supsup()Creates an emptySupelement.static final SupCreates aSupelement with the specified child nodes.static final Tabletable()Creates an emptyTableelement.static final TableCreates aTableelement with the specified child nodes.static final Tbodytbody()Creates an emptyTbodyelement.static final TbodyCreates aTbodyelement with the specified child nodes.static final Tdtd()Creates an emptyTdelement.static final TdCreates aTdelement with the specified child nodes.static final Templatetemplate()Creates an emptyTemplateelement.static final TemplateCreates aTemplateelement with the specifiedTemplate.id(String)attribute and child nodes.static final Textareatextarea()Creates an emptyTextareaelement.static final TextareaCreates aTextareaelement with the specifiedTextarea.name(String)attribute andTextarea.text(Object)node.static final Tfoottfoot()Creates an emptyTfootelement.static final TfootCreates aTfootelement with the specified child nodes.static final Thth()Creates an emptyThelement.static final ThCreates aThelement with the specified child nodes.static final Theadthead()Creates an emptyTheadelement.static final TheadCreates aTheadelement with the specified child nodes.static final Timetime()Creates an emptyTimeelement.static final TimeCreates aTimeelement with the specifiedTime.children(Object[])nodes.static final Titletitle()Creates an emptyTitleelement.static final TitleCreates aTitleelement with the specifiedTitle.text(Object)node.static final Trtr()Creates an emptyTrelement.static final TrCreates aTrelement with the specified child nodes.static final Tracktrack()Creates an emptyTrackelement.static final Trackstatic final Uu()Creates an emptyUelement.static final UCreates aUelement with the specified child nodes.static final Ulul()Creates an emptyUlelement.static final UlCreates aUlelement with the specified child nodes.static final Varvar()Creates an emptyVarelement.static final VarCreates aVarelement with the specified child nodes.static final Videovideo()Creates an emptyVideoelement.static final VideoCreates aVideoelement with the specifiedVideo.src(Object)attribute.static final Wbrwbr()Creates an emptyWbrelement.
-
Constructor Details
-
HtmlBuilder
protected HtmlBuilder()Constructor.
-
-
Method Details
-
a
Creates an emptyAelement.- Returns:
- The new element.
-
a
- Parameters:
href- TheA.href(Object)attribute.children- TheA.children(Object[])nodes.- Returns:
- The new element.
-
abbr
Creates an emptyAbbrelement.- Returns:
- The new element.
-
abbr
Creates anAbbrelement with the specifiedAbbr.title(String)attribute andAbbr.children(Object[])nodes.- Parameters:
title- TheAbbr.title(String)attribute.children- TheAbbr.children(Object[])nodes.- Returns:
- The new element.
-
address
Creates an emptyAddresselement.- Returns:
- The new element.
-
address
Creates anAddresselement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
area
Creates an emptyAreaelement.- Returns:
- The new element.
-
area
Creates anAreaelement with the specifiedArea.shape(String),Area.coords(String), andArea.href(Object)attributes.- Parameters:
shape- TheArea.shape(String)attribute.coords- TheArea.coords(String)attribute.href- TheArea.href(Object)attribute.- Returns:
- The new element.
-
article
Creates an emptyArticleelement.- Returns:
- The new element.
-
article
Creates anArticleelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
aside
Creates an emptyAsideelement.- Returns:
- The new element.
-
aside
Creates anAsideelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
audio
Creates an emptyAudioelement.- Returns:
- The new element.
-
audio
Creates anAudioelement with the specifiedAudio.src(Object)attribute.- Parameters:
src- TheAudio.src(Object)attribute.- Returns:
- The new element.
-
b
Creates an emptyBelement.- Returns:
- The new element.
-
b
Creates aBelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
base
Creates an emptyBaseelement.- Returns:
- The new element.
-
base
Creates aBaseelement with the specifiedBase.href(Object)attribute.- Parameters:
href- TheBase.href(Object)attribute.- Returns:
- The new element.
-
bdi
Creates an emptyBdielement.- Returns:
- The new element.
-
bdi
Creates aBdielement with the specifiedBdi.text(Object)node.- Parameters:
text- TheBdi.text(Object)node.- Returns:
- The new element.
-
bdo
Creates an emptyBdoelement.- Returns:
- The new element.
-
bdo
Creates aBdoelement with the specifiedBdo.dir(String)attribute and child nodes.- Parameters:
dir- TheBdo.dir(String)attribute.children- The child nodes.- Returns:
- The new element.
-
blockquote
Creates an emptyBlockquoteelement.- Returns:
- The new element.
-
blockquote
Creates aBlockquoteelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
body
Creates an emptyBodyelement.- Returns:
- The new element.
-
body
Creates aBodyelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
br
Creates an emptyBrelement.- Returns:
- The new element.
-
button
Creates an emptyButtonelement.- Returns:
- The new element.
-
button
Creates aButtonelement with the specifiedButton.type(String)attribute.- Parameters:
type- TheButton.type(String)attribute.- Returns:
- The new element.
-
button
Creates aButtonelement with the specifiedButton.type(String)attribute andButton.children(Object[])nodes.- Parameters:
type- TheButton.type(String)attribute.children- TheButton.children(Object[])nodes.- Returns:
- The new element.
-
canvas
Creates an emptyCanvaselement.- Returns:
- The new element.
-
canvas
Creates aCanvaselement with the specifiedCanvas.width(Object)andCanvas.height(Object)attributes.- Parameters:
width- TheCanvas.width(Object)attribute.height- TheCanvas.height(Object)attribute.- Returns:
- The new element.
-
caption
Creates an emptyCaptionelement.- Returns:
- The new element.
-
caption
Creates aCaptionelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
cite
Creates an emptyCiteelement.- Returns:
- The new element.
-
cite
Creates aCiteelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
code
Creates an emptyCodeelement.- Returns:
- The new element.
-
code
Creates aCodeelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
col
Creates an emptyColelement.- Returns:
- The new element.
-
col
Creates aColelement with the specifiedCol.span(Object)attribute.- Parameters:
span- TheCol.span(Object)attribute.- Returns:
- The new element.
-
colgroup
Creates an emptyColgroupelement.- Returns:
- The new element.
-
colgroup
Creates aColgroupelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
data
Creates an emptyDataelement.- Returns:
- The new element.
-
data
Creates aDataelement with the specifiedData.value(Object)attribute and child node.- Parameters:
value- TheData.value(Object)attribute.child- The child node.- Returns:
- The new element.
-
datalist
Creates an emptyDatalistelement.- Returns:
- The new element.
-
datalist
Creates aDatalistelement with the specifiedDatalist.id(String)attribute and child nodes.- Parameters:
id- TheDatalist.id(String)attribute.children- The child nodes.- Returns:
- The new element.
-
dd
Creates an emptyDdelement.- Returns:
- The new element.
-
dd
Creates aDdelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
del
Creates an emptyDelelement.- Returns:
- The new element.
-
del
Creates aDelelement with the specifiedDel.children(Object[])node.- Parameters:
children- TheDel.children(Object[])node.- Returns:
- The new element.
-
dfn
Creates an emptyDfnelement.- Returns:
- The new element.
-
dfn
Creates aDfnelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
div
Creates an emptyDivelement.- Returns:
- The new element.
-
div
Creates aDivelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
dl
Creates an emptyDlelement.- Returns:
- The new element.
-
dl
Creates aDlelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
dt
Creates an emptyDtelement.- Returns:
- The new element.
-
dt
Creates aDtelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
em
Creates an emptyEmelement.- Returns:
- The new element.
-
em
Creates anEmelement with the specifiedEm.children(Object[])nodes.- Parameters:
children- TheEm.children(Object[])nodes.- Returns:
- The new element.
-
embed
Creates an emptyEmbedelement.- Returns:
- The new element.
-
embed
Creates anEmbedelement with the specifiedEmbed.src(Object)attribute.- Parameters:
src- TheEmbed.src(Object)attribute.- Returns:
- The new element.
-
fieldset
Creates an emptyFieldsetelement.- Returns:
- The new element.
-
fieldset
Creates aFieldsetelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
figcaption
Creates an emptyFigcaptionelement.- Returns:
- The new element.
-
figcaption
Creates aFigcaptionelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
figure
Creates an emptyFigureelement.- Returns:
- The new element.
-
figure
Creates aFigureelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
form
Creates an emptyFormelement.- Returns:
- The new element.
-
form
Creates aFormelement with the specifiedForm.action(String)attribute.- Parameters:
action- TheForm.action(String)attribute.- Returns:
- The new element.
-
form
Creates anFormelement with the specifiedForm.action(String)attribute and child nodes.- Parameters:
action- TheForm.action(String)attribute.children- The child nodes.- Returns:
- The new element.
-
h1
Creates an emptyH1element.- Returns:
- The new element.
-
h1
Creates anH1element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
h2
Creates an emptyH2element.- Returns:
- The new element.
-
h2
Creates anH2element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
h3
Creates an emptyH3element.- Returns:
- The new element.
-
h3
Creates anH3element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
h4
Creates an emptyH4element.- Returns:
- The new element.
-
h4
Creates anH4element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
h5
Creates an emptyH5element.- Returns:
- The new element.
-
h5
Creates anH5element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
h6
Creates an emptyH6element.- Returns:
- The new element.
-
h6
Creates anH6element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
head
Creates an emptyHeadelement.- Returns:
- The new element.
-
head
Creates aHeadelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
header
Creates an emptyHeaderelement.- Returns:
- The new element.
-
header
Creates aHeaderelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
hr
Creates an emptyHrelement.- Returns:
- The new element.
-
html
Creates an emptyHtmlelement.- Returns:
- The new element.
-
html
Creates anHtmlelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
i
Creates an emptyIelement.- Returns:
- The new element.
-
i
Creates anIelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
iframe
Creates an emptyIframeelement.- Returns:
- The new element.
-
iframe
Creates anIframeelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
img
Creates an emptyImgelement.- Returns:
- The new element.
-
img
Creates anImgelement with the specifiedImg.src(Object)attribute.- Parameters:
src- TheImg.src(Object)attribute.- Returns:
- The new element.
-
input
Creates an emptyInputelement.- Returns:
- The new element.
-
input
Creates anInputelement with the specifiedInput.type(String)attribute.- Parameters:
type- TheInput.type(String)attribute.- Returns:
- The new element.
-
ins
Creates an emptyInselement.- Returns:
- The new element.
-
ins
Creates anInselement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
kbd
Creates an emptyKbdelement.- Returns:
- The new element.
-
kbd
Creates aKbdelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
keygen
Creates an emptyKeygenelement.- Returns:
- The new element.
-
label
Creates an emptyLabelelement.- Returns:
- The new element.
-
label
Creates aLabelelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
legend
Creates an emptyLegendelement.- Returns:
- The new element.
-
legend
Creates aLegendelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
li
Creates an emptyLielement.- Returns:
- The new element.
-
li
Creates anLielement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
link
Creates an emptyLinkelement.- Returns:
- The new element.
-
link
Creates aLinkelement with the specifiedLink.href(Object)attribute.- Parameters:
href- TheLink.href(Object)attribute.- Returns:
- The new element.
-
main
Creates an emptyMainelement.- Returns:
- The new element.
-
main
Creates aMainelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
map
Creates an emptyMapelement.- Returns:
- The new element.
-
map
Creates aMapelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
mark
Creates an emptyMarkelement.- Returns:
- The new element.
-
mark
Creates aMarkelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
meta
Creates an emptyMetaelement.- Returns:
- The new element.
-
meter
Creates an emptyMeterelement.- Returns:
- The new element.
-
meter
Creates aMeterelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
noscript
Creates an emptyNoscriptelement.- Returns:
- The new element.
-
noscript
Creates aNoscriptelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
object
Creates an emptyObject_element.- Returns:
- The new element.
-
object
Creates anObject_element with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
ol
Creates an emptyOlelement.- Returns:
- The new element.
-
ol
Creates anOlelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
optgroup
Creates an emptyOptgroupelement.- Returns:
- The new element.
-
optgroup
Creates anOptgroupelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
option
Creates an emptyOptionelement.- Returns:
- The new element.
-
option
Creates anOptionelement with the specifiedOption.text(Object)attribute.- Parameters:
text- TheOption.text(Object)attribute.- Returns:
- The new element.
-
option
Creates anOptionelement with the specifiedOption.value(Object)attribute andOption.text(Object)node.- Parameters:
value- TheOption.value(Object)attribute.text- TheOption.text(Object)node.- Returns:
- The new element.
-
output
Creates an emptyOutputelement.- Returns:
- The new element.
-
output
Creates anOutputelement with the specifiedOutput.name(String)attribute.- Parameters:
name- TheOutput.name(String)attribute.- Returns:
- The new element.
-
p
Creates an emptyPelement.- Returns:
- The new element.
-
p
Creates aPelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
param
Creates an emptyParamelement.- Returns:
- The new element.
-
param
- Parameters:
name- TheParam.name(String)attribute.value- TheParam.value(Object)attribute.- Returns:
- The new element.
-
pre
Creates an emptyPreelement.- Returns:
- The new element.
-
pre
Creates aPreelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
progress
Creates an emptyProgresselement.- Returns:
- The new element.
-
progress
Creates aProgresselement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
q
Creates an emptyQelement.- Returns:
- The new element.
-
q
Creates aQelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
rb
Creates an emptyRbelement.- Returns:
- The new element.
-
rb
Creates aRbelement with the specifiedRb.children(Object[])nodes.- Parameters:
children- TheRb.children(Object[])nodes.- Returns:
- The new element.
-
rp
Creates an emptyRpelement.- Returns:
- The new element.
-
rp
Creates aRpelement with the specifiedRp.children(Object[])nodes.- Parameters:
children- TheRp.children(Object[])nodes.- Returns:
- The new element.
-
rt
Creates an emptyRtelement.- Returns:
- The new element.
-
rt
Creates aRtelement with the specifiedRt.children(Object[])nodes.- Parameters:
children- TheRt.children(Object[])nodes.- Returns:
- The new element.
-
rtc
Creates an emptyRtcelement.- Returns:
- The new element.
-
rtc
Creates anRtcelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
ruby
Creates an emptyRubyelement.- Returns:
- The new element.
-
ruby
Creates aRubyelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
s
Creates an emptySelement.- Returns:
- The new element.
-
s
Creates anSelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
samp
Creates an emptySampelement.- Returns:
- The new element.
-
samp
Creates aSampelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
script
Creates an emptyScriptelement.- Returns:
- The new element.
-
script
Creates aScriptelement with the specifiedScript.type(String)attribute andScript.text(Object)node.- Parameters:
type- TheScript.type(String)attribute.text- The child text node.- Returns:
- The new element.
-
section
Creates an emptySectionelement.- Returns:
- The new element.
-
section
Creates aSectionelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
select
Creates an emptySelectelement.- Returns:
- The new element.
-
select
Creates aSelectelement with the specifiedSelect.name(String)attribute and child nodes.- Parameters:
name- TheSelect.name(String)attribute.children- The child nodes.- Returns:
- The new element.
-
small
Creates an emptySmallelement.- Returns:
- The new element.
-
small
Creates aSmallelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
source
Creates an emptySourceelement.- Returns:
- The new element.
-
source
- Parameters:
src- TheSource.src(Object)attribute.type- TheSource.type(String)attribute.- Returns:
- The new element.
-
span
Creates an emptySpanelement.- Returns:
- The new element.
-
span
Creates aSpanelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
strong
Creates an emptyStrongelement.- Returns:
- The new element.
-
strong
Creates aStrongelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
style
Creates an emptyStyleelement.- Returns:
- The new element.
-
style
Creates aStyleelement with the specifiedStyle.text(Object)node.- Parameters:
text- TheStyle.text(Object)node.- Returns:
- The new element.
-
style
Creates aStyleelement with the specified inner text.- Parameters:
text- The contents of the style element.
Values will be concatenated with newlines.- Returns:
- The new element.
-
sub
Creates an emptySubelement.- Returns:
- The new element.
-
sub
Creates aSubelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
sup
Creates an emptySupelement.- Returns:
- The new element.
-
sup
Creates aSupelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
table
Creates an emptyTableelement.- Returns:
- The new element.
-
table
Creates aTableelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
tbody
Creates an emptyTbodyelement.- Returns:
- The new element.
-
tbody
Creates aTbodyelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
td
Creates an emptyTdelement.- Returns:
- The new element.
-
td
Creates aTdelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
template
Creates an emptyTemplateelement.- Returns:
- The new element.
-
template
Creates aTemplateelement with the specifiedTemplate.id(String)attribute and child nodes.- Parameters:
id- TheTemplate.id(String)attribute.children- The child nodes.- Returns:
- The new element.
-
textarea
Creates an emptyTextareaelement.- Returns:
- The new element.
-
textarea
Creates aTextareaelement with the specifiedTextarea.name(String)attribute andTextarea.text(Object)node.- Parameters:
name- TheTextarea.name(String)attribute.text- TheTextarea.text(Object)node.- Returns:
- The new element.
-
tfoot
Creates an emptyTfootelement.- Returns:
- The new element.
-
tfoot
Creates aTfootelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
th
Creates an emptyThelement.- Returns:
- The new element.
-
th
Creates aThelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
thead
Creates an emptyTheadelement.- Returns:
- The new element.
-
thead
Creates aTheadelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
time
Creates an emptyTimeelement.- Returns:
- The new element.
-
time
Creates aTimeelement with the specifiedTime.children(Object[])nodes.- Parameters:
children- TheTime.children(Object[])nodes.- Returns:
- The new element.
-
title
Creates an emptyTitleelement.- Returns:
- The new element.
-
title
Creates aTitleelement with the specifiedTitle.text(Object)node.- Parameters:
text- TheTitle.text(Object)node.- Returns:
- The new element.
-
tr
Creates an emptyTrelement.- Returns:
- The new element.
-
tr
Creates aTrelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
track
Creates an emptyTrackelement.- Returns:
- The new element.
-
track
- Parameters:
src- TheTrack.src(Object)attribute.kind- TheTrack.kind(String)attribute.- Returns:
- The new element.
-
u
Creates an emptyUelement.- Returns:
- The new element.
-
u
Creates aUelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
ul
Creates an emptyUlelement.- Returns:
- The new element.
-
ul
Creates aUlelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
var
Creates an emptyVarelement.- Returns:
- The new element.
-
var
Creates aVarelement with the specified child nodes.- Parameters:
children- The child nodes.- Returns:
- The new element.
-
video
Creates an emptyVideoelement.- Returns:
- The new element.
-
video
Creates aVideoelement with the specifiedVideo.src(Object)attribute.- Parameters:
src- TheVideo.src(Object)attribute.- Returns:
- The new element.
-
wbr
Creates an emptyWbrelement.- Returns:
- The new element.
-