@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, setChildren
accesskey, 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, translate
public Pre()
@Xml(format=MIXED_PWS) @Beanp(dictionary=HtmlBeanDictionary.class, name="c") public LinkedList<Object> getChildren()
HtmlElementMixed
getChildren
in class HtmlElementMixed
public final Pre _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Pre id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Pre style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public Pre children(Object... children)
HtmlElementMixed
children
in class HtmlElementMixed
children
- 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)
HtmlElementMixed
child
in class HtmlElementMixed
child
- 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–2020 The Apache Software Foundation. All rights reserved.