@Bean(typeName="code") public class Code extends HtmlElementMixed
| Constructor and Description |
|---|
Code() |
| Modifier and Type | Method and Description |
|---|---|
Code |
_class(String _class)
class attribute.
|
Code |
child(Object child)
Adds a child element to this element.
|
Code |
children(Object... children)
Adds one or more child elements to this element.
|
Code |
id(String id)
id attribute.
|
Code |
style(String style)
style attribute.
|
getChild, getChild, getChild, getChildren, setChildrenaccesskey, attr, attrUri, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, tabindex, title, toString, translatepublic Code()
public final Code _class(String _class)
HtmlElement_class in class HtmlElement_class - The new value for this attribute.public final Code id(String id)
HtmlElementid in class HtmlElementid - The new value for this attribute.public final Code style(String style)
HtmlElementstyle in class HtmlElementstyle - The new value for this attribute.public Code children(Object... children)
HtmlElementMixedchildren in class HtmlElementMixedchildren - The children to add as child elements.
Can be a mixture of strings and HtmlElement objects.
Can also be containers of strings and elements.public Code child(Object child)
HtmlElementMixedchild in class HtmlElementMixedchild - The child to add as a child element.
Can be a string or HtmlElement.
Can also be a container of strings and elements.Copyright © 2018 Apache. All rights reserved.