Package org.apache.juneau.rest.beans
Class Hyperlink
java.lang.Object
org.apache.juneau.dto.html5.HtmlElement
org.apache.juneau.dto.html5.HtmlElementMixed
org.apache.juneau.dto.html5.A
org.apache.juneau.rest.beans.Hyperlink
Defines a simple hyperlink class.
Examples:
See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.juneau.dto.html5.A
_class, accesskey, child, children, contenteditable, dir, download, hidden, href, hreflang, id, 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, rel, spellcheck, style, tabindex, target, title, translate, type
Methods inherited from class org.apache.juneau.dto.html5.HtmlElementMixed
getChild, getChild, getChild, getChildren, setChildren
Methods inherited from class org.apache.juneau.dto.html5.HtmlElement
attr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
-
Constructor Details
-
Hyperlink
public Hyperlink()Creates an emptyA
element. -
Hyperlink
- Parameters:
href
- TheA.href(Object)
attribute.children
- TheA.children(Object[])
nodes.
-
-
Method Details
-
create
Static creator.- Parameters:
href
- TheA.href(Object)
attribute.children
- TheA.children(Object[])
nodes.- Returns:
- A new
Hyperlink
object.
-