Interface HamletSpec.Phrase

All Superinterfaces:
HamletSpec.__, HamletSpec._Child
All Known Subinterfaces:
HamletSpec._Cell, HamletSpec.A, HamletSpec.ABBR, HamletSpec.ACRONYM, HamletSpec.ADDRESS, HamletSpec.B, HamletSpec.BDO, HamletSpec.BUTTON, 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.STRONG, HamletSpec.SUB, HamletSpec.SUP, HamletSpec.TD, HamletSpec.TH, HamletSpec.VAR
All Known Implementing Classes:
Hamlet.A, Hamlet.ABBR, Hamlet.ACRONYM, Hamlet.ADDRESS, Hamlet.B, Hamlet.BDO, Hamlet.BUTTON, 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.Phrase extends HamletSpec._Child
%phrase
  • Method Details

    • em

      Add an EM (emphasized) element.
      Returns:
      a new EM element builder
    • em

      Add an EM (emphasized) element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • em

      HamletSpec.Phrase em(String selector, String cdata)
      Add an EM (emphasized) element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • strong

      Add a STRONG (important) element.
      Returns:
      a new STRONG element builder
    • strong

      HamletSpec.Phrase strong(String cdata)
      Add a complete STRONG (important) element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • strong

      HamletSpec.Phrase strong(String selector, String cdata)
      Add a complete STRONG (important) element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • dfn

      Add a DFN element.
      Returns:
      a new DFN element builder
    • dfn

      Add a complete DFN element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • dfn

      HamletSpec.Phrase dfn(String selector, String cdata)
      Add a complete DFN element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • code

      Add a CODE (code fragment) element.
      Returns:
      a new CODE element builder
    • code

      Add a complete CODE element.
      Parameters:
      cdata - the code
      Returns:
      the current element builder
    • code

      HamletSpec.Phrase code(String selector, String cdata)
      Add a complete CODE element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the code
      Returns:
      the current element builder
    • samp

      Add a SAMP (sample) element.
      Returns:
      a new SAMP element builder
    • samp

      Add a complete SAMP (sample) element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • samp

      HamletSpec.Phrase samp(String selector, String cdata)
      Add a complete SAMP (sample) element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • kbd

      Add a KBD (keyboard) element.
      Returns:
      a new KBD element builder
    • kbd

      Add a KBD (keyboard) element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • kbd

      HamletSpec.Phrase kbd(String selector, String cdata)
      Add a KBD (keyboard) element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • var

      Add a VAR (variable) element.
      Returns:
      a new VAR element builder
    • var

      Add a VAR (variable) element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • var

      HamletSpec.Phrase var(String selector, String cdata)
      Add a VAR (variable) element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • cite

      Add a CITE element.
      Returns:
      a new CITE element builder
    • cite

      Add a CITE element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • cite

      HamletSpec.Phrase cite(String selector, String cdata)
      Add a CITE element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder
    • abbr

      Add an ABBR (abbreviation) element.
      Returns:
      a new ABBR element builder
    • abbr

      Add a ABBR (abbreviation) element.
      Parameters:
      cdata - the content
      Returns:
      the current element builder
    • abbr

      HamletSpec.Phrase abbr(String selector, String cdata)
      Add a ABBR (abbreviation) element.
      Parameters:
      selector - the css selector in the form of (#id)*(.class)*
      cdata - the content
      Returns:
      the current element builder