@Bean(typeName="a") public class A extends HtmlElementMixed
Constructor and Description |
---|
A() |
Modifier and Type | Method and Description |
---|---|
A |
_class(String _class)
class attribute.
|
A |
child(Object child)
Adds a child element to this element.
|
A |
children(Object... children)
Adds one or more child elements to this element.
|
A |
download(Object download)
download attribute.
|
A |
href(Object href)
href attribute.
|
A |
hreflang(String hreflang)
hreflang attribute.
|
A |
id(String id)
id attribute.
|
A |
rel(String rel)
rel attribute.
|
A |
style(String style)
style attribute.
|
A |
target(String target)
target attribute.
|
A |
type(String type)
type attribute.
|
getChild, getChild, getChild, getChildren, 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 A()
public final A download(Object download)
Whether to download the resource instead of navigating to it, and its file name if so.
public final A href(Object href)
Address of the hyperlink.
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
public final A hreflang(String hreflang)
Language of the linked resource.
hreflang
- The new value for this attribute.public final A rel(String rel)
Relationship between the document containing the hyperlink and the destination resource.
rel
- The new value for this attribute.public final A target(String target)
Default browsing context for hyperlink navigation and form submission.
target
- The new value for this attribute.public final A type(String type)
Hint for the type of the referenced resource.
type
- The new value for this attribute.public final A _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final A id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final A style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public A 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 A 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.