Interface HamletSpec._Anchor
- All Known Subinterfaces:
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.VAR
- All Known Implementing Classes:
Hamlet.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.VAR
- Enclosing class:
- HamletSpec
public static interface HamletSpec._Anchor
-
Method Summary
Modifier and TypeMethodDescriptiona()Add a A (anchor) element.Add a A (anchor) element.Shortcut fora().Shortcut fora(selector).
-
Method Details
-
a
HamletSpec.A a()Add a A (anchor) element.- Returns:
- a new A element builder
-
a
Add a A (anchor) element.- Parameters:
selector- the css selector in the form of (#id)*(.class)*- Returns:
- a new A element builder
-
a
Shortcut fora().$href(href).__(anchorText).__();- Parameters:
href- the URIanchorText- for the URI- Returns:
- the current element builder
-
a
Shortcut fora(selector).$href(href).__(anchorText).__();- Parameters:
selector- in the form of (#id)?(.class)*href- the URIanchorText- for the URI- Returns:
- the current element builder
-