HamletSpec._Cell, HamletSpec.ABBR, HamletSpec.ACRONYM, HamletSpec.ADDRESS, HamletSpec.B, HamletSpec.BDO, HamletSpec.CAPTION, HamletSpec.CITE, HamletSpec.CODE, HamletSpec.DD, HamletSpec.DEL, HamletSpec.DFN, HamletSpec.DIV, HamletSpec.DT, HamletSpec.EM, HamletSpec.FIELDSET, HamletSpec.Flow, HamletSpec.H1, HamletSpec.H2, HamletSpec.H3, HamletSpec.H4, HamletSpec.H5, HamletSpec.H6, HamletSpec.I, HamletSpec.Inline, HamletSpec.INS, HamletSpec.KBD, HamletSpec.LABEL, HamletSpec.LEGEND, HamletSpec.LI, HamletSpec.OBJECT, HamletSpec.P, HamletSpec.PRE, HamletSpec.Q, HamletSpec.SAMP, HamletSpec.SMALL, HamletSpec.SPAN, HamletSpec.Special, HamletSpec.STRONG, HamletSpec.SUB, HamletSpec.SUP, HamletSpec.TD, HamletSpec.TH, HamletSpec.VARHamlet.ABBR, Hamlet.ACRONYM, Hamlet.ADDRESS, Hamlet.B, Hamlet.BDO, Hamlet.CAPTION, Hamlet.CITE, Hamlet.CODE, Hamlet.DD, Hamlet.DEL, Hamlet.DFN, Hamlet.DIV, Hamlet.DT, Hamlet.EM, Hamlet.FIELDSET, Hamlet.H1, Hamlet.H2, Hamlet.H3, Hamlet.H4, Hamlet.H5, Hamlet.H6, Hamlet.I, Hamlet.INS, Hamlet.KBD, Hamlet.LABEL, Hamlet.LEGEND, Hamlet.LI, Hamlet.OBJECT, Hamlet.P, Hamlet.PRE, Hamlet.Q, Hamlet.SAMP, Hamlet.SMALL, Hamlet.SPAN, Hamlet.STRONG, Hamlet.SUB, Hamlet.SUP, Hamlet.TD, Hamlet.TH, Hamlet.VARpublic static interface HamletSpec._Anchor
| Modifier and Type | Method | Description |
|---|---|---|
HamletSpec.A |
a() |
Add a A (anchor) element.
|
HamletSpec.A |
a(java.lang.String selector) |
Add a A (anchor) element.
|
HamletSpec._Anchor |
a(java.lang.String href,
java.lang.String anchorText) |
Shortcut for
a().$href(href).__(anchorText).__(); |
HamletSpec._Anchor |
a(java.lang.String selector,
java.lang.String href,
java.lang.String anchorText) |
Shortcut for
a(selector).$href(href).__(anchorText).__(); |
HamletSpec.A a()
HamletSpec.A a(java.lang.String selector)
selector - the css selector in the form of (#id)*(.class)*HamletSpec._Anchor a(java.lang.String href, java.lang.String anchorText)
a().$href(href).__(anchorText).__();href - the URIanchorText - for the URIHamletSpec._Anchor a(java.lang.String selector, java.lang.String href, java.lang.String anchorText)
a(selector).$href(href).__(anchorText).__();selector - in the form of (#id)?(.class)*href - the URIanchorText - for the URICopyright © 2008–2025 Apache Software Foundation. All rights reserved.