@Bean(typeName="pre") public class Pre extends HtmlElementMixed
| Constructor and Description |
|---|
Pre() |
| Modifier and Type | Method and Description |
|---|---|
Pre |
_class(String _class)
class attribute.
|
Pre |
child(Object child)
Adds a child element to this element.
|
Pre |
children(Object... children)
Adds one or more child elements to this element.
|
LinkedList<Object> |
getChildren()
The children of this element.
|
Pre |
id(String id)
id attribute.
|
Pre |
style(String style)
style attribute.
|
getChild, getChild, getChild, 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 Pre()
@Xml(format=MIXED_PWS) @Beanp(dictionary=HtmlBeanDictionary.class, name="c") public LinkedList<Object> getChildren()
HtmlElementMixedgetChildren in class HtmlElementMixedpublic final Pre _class(String _class)
HtmlElement_class in class HtmlElement_class - The new value for this attribute.public final Pre id(String id)
HtmlElementid in class HtmlElementid - The new value for this attribute.public final Pre style(String style)
HtmlElementstyle in class HtmlElementstyle - The new value for this attribute.public Pre 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 Pre 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 © 2016–2019 The Apache Software Foundation. All rights reserved.