org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.HTML<T extends HamletSpec._>

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
      extended by org.apache.hadoop.yarn.webapp.hamlet.Hamlet.HTML<T>
All Implemented Interfaces:
HamletSpec._, HamletSpec._Block, HamletSpec._Body, HamletSpec._Child, HamletSpec._FieldSet, HamletSpec._Form, HamletSpec._Head, HamletSpec._Html, HamletSpec._InsDel, HamletSpec._Object, HamletSpec._Script, HamletSpec.Block, HamletSpec.Heading, HamletSpec.HeadMisc, HamletSpec.HTML, HamletSpec.I18nAttrs, HamletSpec.Listing, HamletSpec.Preformatted
Enclosing class:
Hamlet

public class Hamlet.HTML<T extends HamletSpec._>
extends HamletImpl.EImp<T>
implements HamletSpec.HTML


Constructor Summary
Hamlet.HTML(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.HTML<T> _(Class<? extends SubView> cls)
          Embed a sub-view.
 Hamlet.HTML<T> $dir(HamletSpec.Dir value)
          direction for weak/neutral text
 Hamlet.HTML<T> $lang(String value)
          language code
 Hamlet.ADDRESS<Hamlet.HTML<T>> address()
          Add a ADDRESS element.
 Hamlet.HTML<T> address(String cdata)
          Add a complete ADDRESS element.
 Hamlet.BASE<Hamlet.HTML<T>> base()
          Add a BASE element.
 Hamlet.HTML<T> base(String href)
          Add a complete BASE element.
 Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> blockquote()
          Add a BLOCKQUOTE element.
 Hamlet.BODY<Hamlet.HTML<T>> body()
          Add a BODY element.
 Hamlet.BODY<Hamlet.HTML<T>> body(String selector)
          Add a BODY element.
 Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> bq()
          Alias of blockquote
 Hamlet.DEL<Hamlet.HTML<T>> del()
          Add a DEL (delete) element.
 Hamlet.HTML<T> del(String cdata)
          Add a complete DEL element.
 Hamlet.DIV<Hamlet.HTML<T>> div()
          Add a DIV element.
 Hamlet.DIV<Hamlet.HTML<T>> div(String selector)
          Add a DIV element.
 Hamlet.DL<Hamlet.HTML<T>> dl()
          Add a DL (description list) element.
 Hamlet.DL<Hamlet.HTML<T>> dl(String selector)
          Add a DL element.
 Hamlet.FIELDSET<Hamlet.HTML<T>> fieldset()
          Add a FIELDSET element.
 Hamlet.FIELDSET<Hamlet.HTML<T>> fieldset(String selector)
          Add a FIELDSET element.
 Hamlet.FORM<Hamlet.HTML<T>> form()
          Add a FORM element.
 Hamlet.FORM<Hamlet.HTML<T>> form(String selector)
          Add a FORM element.
 Hamlet.H1<Hamlet.HTML<T>> h1()
          Add an H1 element.
 Hamlet.HTML<T> h1(String cdata)
          Add a complete H1 element.
 Hamlet.HTML<T> h1(String selector, String cdata)
          Add a complete H1 element
 Hamlet.H2<Hamlet.HTML<T>> h2()
          Add an H2 element.
 Hamlet.HTML<T> h2(String cdata)
          Add a complete H2 element.
 Hamlet.HTML<T> h2(String selector, String cdata)
          Add a complete H1 element
 Hamlet.H3<Hamlet.HTML<T>> h3()
          Add an H3 element.
 Hamlet.HTML<T> h3(String cdata)
          Add a complete H3 element.
 Hamlet.HTML<T> h3(String selector, String cdata)
          Add a complete H1 element
 Hamlet.H4<Hamlet.HTML<T>> h4()
          Add an H4 element.
 Hamlet.HTML<T> h4(String cdata)
          Add a complete H4 element.
 Hamlet.HTML<T> h4(String selector, String cdata)
          Add a complete H4 element
 Hamlet.H5<Hamlet.HTML<T>> h5()
          Add an H5 element.
 Hamlet.HTML<T> h5(String cdata)
          Add a complete H5 element.
 Hamlet.HTML<T> h5(String selector, String cdata)
          Add a complete H5 element
 Hamlet.H6<Hamlet.HTML<T>> h6()
          Add an H6 element.
 Hamlet.HTML<T> h6(String cdata)
          Add a complete H6 element.
 Hamlet.HTML<T> h6(String selector, String cdata)
          Add a complete H6 element.
 Hamlet.HEAD<Hamlet.HTML<T>> head()
          Add a HEAD element.
 Hamlet.HR<Hamlet.HTML<T>> hr()
          Add a HR (horizontal rule) element.
 Hamlet.HTML<T> hr(String selector)
          Add a HR element.
 Hamlet.INS<Hamlet.HTML<T>> ins()
          Add an INS (insert) element.
 Hamlet.HTML<T> ins(String cdata)
          Add a complete INS element.
 Hamlet.LINK<Hamlet.HTML<T>> link()
          Add a link element.
 Hamlet.HTML<T> link(String href)
          Add a link element.
 Hamlet.HTML<T> meta_http(String header, String content)
          Add a meta element with http-equiv attribute.
 Hamlet.META<Hamlet.HTML<T>> meta()
          Add a meta element.
 Hamlet.HTML<T> meta(String name, String content)
          Add a meta element.
 Hamlet.OBJECT<Hamlet.HTML<T>> object()
          Add an object element.
 Hamlet.OBJECT<Hamlet.HTML<T>> object(String selector)
          Add an object element.
 Hamlet.OL<Hamlet.HTML<T>> ol()
          Add a OL (ordered list) element.
 Hamlet.OL<Hamlet.HTML<T>> ol(String selector)
          Add a OL (ordered list) element.
 Hamlet.P<Hamlet.HTML<T>> p()
          Add a P (paragraph) element.
 Hamlet.P<Hamlet.HTML<T>> p(String selector)
          Add a P (paragraph) element.
 Hamlet.PRE<Hamlet.HTML<T>> pre()
          Add a PRE (preformatted) element.
 Hamlet.PRE<Hamlet.HTML<T>> pre(String selector)
          Add a PRE (preformatted) element.
 Hamlet.SCRIPT<Hamlet.HTML<T>> script()
          Add a script element.
 Hamlet.HTML<T> script(String src)
          Add a script element
 Hamlet.STYLE<Hamlet.HTML<T>> style()
          Add a style element.
 Hamlet.HTML<T> style(Object... lines)
          Add a css style element.
 Hamlet.TABLE<Hamlet.HTML<T>> table()
          Add a TABLE element.
 Hamlet.TABLE<Hamlet.HTML<T>> table(String selector)
          Add a TABLE element.
 Hamlet.TITLE<Hamlet.HTML<T>> title()
          Add a TITLE element.
 Hamlet.HTML<T> title(String cdata)
          Add a TITLE element.
 Hamlet.UL<Hamlet.HTML<T>> ul()
          Add a UL (unordered list) element.
 Hamlet.UL<Hamlet.HTML<T>> ul(String selector)
          Add a UL (unordered list) element.
 
Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hamlet.HTML

public Hamlet.HTML(String name,
                   T parent,
                   EnumSet<HamletImpl.EOpt> opts)
Method Detail

$lang

public Hamlet.HTML<T> $lang(String value)
Description copied from interface: HamletSpec.I18nAttrs
language code

Specified by:
$lang in interface HamletSpec.I18nAttrs
Parameters:
value - the code
Returns:
the current element builder

$dir

public Hamlet.HTML<T> $dir(HamletSpec.Dir value)
Description copied from interface: HamletSpec.I18nAttrs
direction for weak/neutral text

Specified by:
$dir in interface HamletSpec.I18nAttrs
Parameters:
value - the HamletSpec.Dir value
Returns:
the current element builder

head

public Hamlet.HEAD<Hamlet.HTML<T>> head()
Description copied from interface: HamletSpec._Html
Add a HEAD element.

Specified by:
head in interface HamletSpec._Html
Returns:
a new HEAD element builder

body

public Hamlet.BODY<Hamlet.HTML<T>> body()
Description copied from interface: HamletSpec._Html
Add a BODY element.

Specified by:
body in interface HamletSpec._Html
Returns:
a new BODY element builder

body

public Hamlet.BODY<Hamlet.HTML<T>> body(String selector)
Description copied from interface: HamletSpec._Html
Add a BODY element.

Specified by:
body in interface HamletSpec._Html
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new BODY element builder

base

public Hamlet.BASE<Hamlet.HTML<T>> base()
Description copied from interface: HamletSpec._Head
Add a BASE element.

Specified by:
base in interface HamletSpec._Head
Returns:
a new BASE element builder

base

public Hamlet.HTML<T> base(String href)
Description copied from interface: HamletSpec._Head
Add a complete BASE element.

Specified by:
base in interface HamletSpec._Head
Returns:
the current element builder

title

public Hamlet.TITLE<Hamlet.HTML<T>> title()
Description copied from interface: HamletSpec._Head
Add a TITLE element.

Specified by:
title in interface HamletSpec._Head
Returns:
a new TITLE element builder

title

public Hamlet.HTML<T> title(String cdata)
Description copied from interface: HamletSpec._Head
Add a TITLE element.

Specified by:
title in interface HamletSpec._Head
Parameters:
cdata - the content
Returns:
the current element builder

style

public Hamlet.STYLE<Hamlet.HTML<T>> style()
Description copied from interface: HamletSpec.HeadMisc
Add a style element.

Specified by:
style in interface HamletSpec.HeadMisc
Returns:
a style element builder

style

public Hamlet.HTML<T> style(Object... lines)
Description copied from interface: HamletSpec.HeadMisc
Add a css style element.

Specified by:
style in interface HamletSpec.HeadMisc
Parameters:
lines - content of the style sheet
Returns:
the current element builder

link

public Hamlet.LINK<Hamlet.HTML<T>> link()
Description copied from interface: HamletSpec.HeadMisc
Add a link element.

Specified by:
link in interface HamletSpec.HeadMisc
Returns:
a link element builder

link

public Hamlet.HTML<T> link(String href)
Description copied from interface: HamletSpec.HeadMisc
Add a link element. Implementation should try to figure out type by the suffix of href. So link("style.css"); is a shortcut of link().$rel("stylesheet").$type("text/css").$href("style.css")._();

Specified by:
link in interface HamletSpec.HeadMisc
Parameters:
href - of the link
Returns:
the current element builder

meta

public Hamlet.META<Hamlet.HTML<T>> meta()
Description copied from interface: HamletSpec.HeadMisc
Add a meta element.

Specified by:
meta in interface HamletSpec.HeadMisc
Returns:
a meta element builder

meta

public Hamlet.HTML<T> meta(String name,
                           String content)
Description copied from interface: HamletSpec.HeadMisc
Add a meta element. Shortcut of meta().$name(name).$content(content)._();

Specified by:
meta in interface HamletSpec.HeadMisc
Parameters:
name - of the meta element
content - of the meta element
Returns:
the current element builder

meta_http

public Hamlet.HTML<T> meta_http(String header,
                                String content)
Description copied from interface: HamletSpec.HeadMisc
Add a meta element with http-equiv attribute. Shortcut of
meta().$http_equiv(header).$content(content)._();

Specified by:
meta_http in interface HamletSpec.HeadMisc
Parameters:
header - for the http-equiv attribute
content - of the header
Returns:
the current element builder

script

public Hamlet.SCRIPT<Hamlet.HTML<T>> script()
Description copied from interface: HamletSpec._Script
Add a script element.

Specified by:
script in interface HamletSpec._Script
Returns:
a script element builder

script

public Hamlet.HTML<T> script(String src)
Description copied from interface: HamletSpec._Script
Add a script element

Specified by:
script in interface HamletSpec._Script
Parameters:
src - uri of the script
Returns:
the current element builder

object

public Hamlet.OBJECT<Hamlet.HTML<T>> object()
Description copied from interface: HamletSpec._Object
Add an object element.

Specified by:
object in interface HamletSpec._Object
Returns:
an object element builder

object

public Hamlet.OBJECT<Hamlet.HTML<T>> object(String selector)
Description copied from interface: HamletSpec._Object
Add an object element.

Specified by:
object in interface HamletSpec._Object
Parameters:
selector - as #id.class etc.
Returns:
an object element builder

table

public Hamlet.TABLE<Hamlet.HTML<T>> table()
Description copied from interface: HamletSpec._Block
Add a TABLE element.

Specified by:
table in interface HamletSpec._Block
Returns:
a new TABLE element builder

table

public Hamlet.TABLE<Hamlet.HTML<T>> table(String selector)
Description copied from interface: HamletSpec._Block
Add a TABLE element.

Specified by:
table in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new TABLE element builder

address

public Hamlet.HTML<T> address(String cdata)
Description copied from interface: HamletSpec._Block
Add a complete ADDRESS element.

Specified by:
address in interface HamletSpec._Block
Parameters:
cdata - the content
Returns:
the current element builder

address

public Hamlet.ADDRESS<Hamlet.HTML<T>> address()
Description copied from interface: HamletSpec._Block
Add a ADDRESS element.

Specified by:
address in interface HamletSpec._Block
Returns:
a new ADDRESS element builder

p

public Hamlet.P<Hamlet.HTML<T>> p(String selector)
Description copied from interface: HamletSpec._Block
Add a P (paragraph) element.

Specified by:
p in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new P element builder

p

public Hamlet.P<Hamlet.HTML<T>> p()
Description copied from interface: HamletSpec._Block
Add a P (paragraph) element.

Specified by:
p in interface HamletSpec._Block
Returns:
a new P element builder

_

public Hamlet.HTML<T> _(Class<? extends SubView> cls)
Description copied from interface: HamletSpec._Block
Embed a sub-view.

Specified by:
_ in interface HamletSpec._Block
Parameters:
cls - the sub-view class
Returns:
the current element builder

hr

public Hamlet.HR<Hamlet.HTML<T>> hr()
Description copied from interface: HamletSpec._Block
Add a HR (horizontal rule) element.

Specified by:
hr in interface HamletSpec._Block
Returns:
a new HR element builder

hr

public Hamlet.HTML<T> hr(String selector)
Description copied from interface: HamletSpec._Block
Add a HR element.

Specified by:
hr in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new HR element builder

dl

public Hamlet.DL<Hamlet.HTML<T>> dl(String selector)
Description copied from interface: HamletSpec._Block
Add a DL element.

Specified by:
dl in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new DL element builder

dl

public Hamlet.DL<Hamlet.HTML<T>> dl()
Description copied from interface: HamletSpec._Block
Add a DL (description list) element.

Specified by:
dl in interface HamletSpec._Block
Returns:
a new DL element builder

div

public Hamlet.DIV<Hamlet.HTML<T>> div(String selector)
Description copied from interface: HamletSpec._Block
Add a DIV element.

Specified by:
div in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new DIV element builder

div

public Hamlet.DIV<Hamlet.HTML<T>> div()
Description copied from interface: HamletSpec._Block
Add a DIV element.

Specified by:
div in interface HamletSpec._Block
Returns:
a new DIV element builder

blockquote

public Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> blockquote()
Description copied from interface: HamletSpec._Block
Add a BLOCKQUOTE element.

Specified by:
blockquote in interface HamletSpec._Block
Returns:
a new BLOCKQUOTE element builder

bq

public Hamlet.BLOCKQUOTE<Hamlet.HTML<T>> bq()
Description copied from interface: HamletSpec._Block
Alias of blockquote

Specified by:
bq in interface HamletSpec._Block
Returns:
a new BLOCKQUOTE element builder

h1

public Hamlet.HTML<T> h1(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element.

Specified by:
h1 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h1

public Hamlet.H1<Hamlet.HTML<T>> h1()
Description copied from interface: HamletSpec.Heading
Add an H1 element.

Specified by:
h1 in interface HamletSpec.Heading
Returns:
a new H1 element builder

h1

public Hamlet.HTML<T> h1(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element

Specified by:
h1 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h2

public Hamlet.HTML<T> h2(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H2 element.

Specified by:
h2 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h2

public Hamlet.H2<Hamlet.HTML<T>> h2()
Description copied from interface: HamletSpec.Heading
Add an H2 element.

Specified by:
h2 in interface HamletSpec.Heading
Returns:
a new H2 element builder

h2

public Hamlet.HTML<T> h2(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element

Specified by:
h2 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h3

public Hamlet.H3<Hamlet.HTML<T>> h3()
Description copied from interface: HamletSpec.Heading
Add an H3 element.

Specified by:
h3 in interface HamletSpec.Heading
Returns:
a new H3 element builder

h3

public Hamlet.HTML<T> h3(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H3 element.

Specified by:
h3 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h3

public Hamlet.HTML<T> h3(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element

Specified by:
h3 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h4

public Hamlet.H4<Hamlet.HTML<T>> h4()
Description copied from interface: HamletSpec.Heading
Add an H4 element.

Specified by:
h4 in interface HamletSpec.Heading
Returns:
a new H4 element builder

h4

public Hamlet.HTML<T> h4(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H4 element.

Specified by:
h4 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h4

public Hamlet.HTML<T> h4(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H4 element

Specified by:
h4 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h5

public Hamlet.H5<Hamlet.HTML<T>> h5()
Description copied from interface: HamletSpec.Heading
Add an H5 element.

Specified by:
h5 in interface HamletSpec.Heading
Returns:
a new H5 element builder

h5

public Hamlet.HTML<T> h5(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H5 element.

Specified by:
h5 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h5

public Hamlet.HTML<T> h5(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H5 element

Specified by:
h5 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h6

public Hamlet.H6<Hamlet.HTML<T>> h6()
Description copied from interface: HamletSpec.Heading
Add an H6 element.

Specified by:
h6 in interface HamletSpec.Heading
Returns:
a new H6 element builder

h6

public Hamlet.HTML<T> h6(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H6 element.

Specified by:
h6 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h6

public Hamlet.HTML<T> h6(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H6 element.

Specified by:
h6 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

ul

public Hamlet.UL<Hamlet.HTML<T>> ul()
Description copied from interface: HamletSpec.Listing
Add a UL (unordered list) element.

Specified by:
ul in interface HamletSpec.Listing
Returns:
a new UL element builder

ul

public Hamlet.UL<Hamlet.HTML<T>> ul(String selector)
Description copied from interface: HamletSpec.Listing
Add a UL (unordered list) element.

Specified by:
ul in interface HamletSpec.Listing
Parameters:
selector - the css selector in the form of (#id)?(.class)*
Returns:
a new UL element builder

ol

public Hamlet.OL<Hamlet.HTML<T>> ol()
Description copied from interface: HamletSpec.Listing
Add a OL (ordered list) element.

Specified by:
ol in interface HamletSpec.Listing
Returns:
a new UL element builder

ol

public Hamlet.OL<Hamlet.HTML<T>> ol(String selector)
Description copied from interface: HamletSpec.Listing
Add a OL (ordered list) element.

Specified by:
ol in interface HamletSpec.Listing
Parameters:
selector - the css selector in the form of (#id)?(.class)*
Returns:
a new UL element builder

pre

public Hamlet.PRE<Hamlet.HTML<T>> pre()
Description copied from interface: HamletSpec.Preformatted
Add a PRE (preformatted) element.

Specified by:
pre in interface HamletSpec.Preformatted
Returns:
a new PRE element builder

pre

public Hamlet.PRE<Hamlet.HTML<T>> pre(String selector)
Description copied from interface: HamletSpec.Preformatted
Add a PRE (preformatted) element.

Specified by:
pre in interface HamletSpec.Preformatted
Parameters:
selector - the css selector in the form of (#id)?(.class)*
Returns:
a new PRE element builder

form

public Hamlet.FORM<Hamlet.HTML<T>> form()
Description copied from interface: HamletSpec._Form
Add a FORM element.

Specified by:
form in interface HamletSpec._Form
Returns:
a new FORM element builder

form

public Hamlet.FORM<Hamlet.HTML<T>> form(String selector)
Description copied from interface: HamletSpec._Form
Add a FORM element.

Specified by:
form in interface HamletSpec._Form
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new FORM element builder

fieldset

public Hamlet.FIELDSET<Hamlet.HTML<T>> fieldset()
Description copied from interface: HamletSpec._FieldSet
Add a FIELDSET element.

Specified by:
fieldset in interface HamletSpec._FieldSet
Returns:
a new FIELDSET element builder

fieldset

public Hamlet.FIELDSET<Hamlet.HTML<T>> fieldset(String selector)
Description copied from interface: HamletSpec._FieldSet
Add a FIELDSET element.

Specified by:
fieldset in interface HamletSpec._FieldSet
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new FIELDSET element builder

ins

public Hamlet.INS<Hamlet.HTML<T>> ins()
Description copied from interface: HamletSpec._InsDel
Add an INS (insert) element.

Specified by:
ins in interface HamletSpec._InsDel
Returns:
an INS element builder

ins

public Hamlet.HTML<T> ins(String cdata)
Description copied from interface: HamletSpec._InsDel
Add a complete INS element.

Specified by:
ins in interface HamletSpec._InsDel
Parameters:
cdata - inserted data
Returns:
the current element builder

del

public Hamlet.DEL<Hamlet.HTML<T>> del()
Description copied from interface: HamletSpec._InsDel
Add a DEL (delete) element.

Specified by:
del in interface HamletSpec._InsDel
Returns:
a DEL element builder

del

public Hamlet.HTML<T> del(String cdata)
Description copied from interface: HamletSpec._InsDel
Add a complete DEL element.

Specified by:
del in interface HamletSpec._InsDel
Parameters:
cdata - deleted data
Returns:
the current element builder


Copyright © 2014 Apache Software Foundation. All Rights Reserved.