@Deprecated @InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public class Hamlet extends HamletImpl implements HamletSpec._Html
Modifier and Type | Class and Description |
---|---|
class |
Hamlet.A<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.ABBR<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.ACRONYM<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.ADDRESS<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.AREA<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.B<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.BASE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.BDO<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.BLOCKQUOTE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.BODY<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.BR<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.BUTTON<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.CAPTION<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.CITE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.CODE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.COL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.COLGROUP<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.DD<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.DEL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.DFN<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.DIV<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.DL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.DT<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.EM<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.FIELDSET<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.FORM<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.H1<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.H2<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.H3<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.H4<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.H5<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.H6<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.HEAD<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.HR<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.HTML<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.I<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.IMG<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.INPUT<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.INS<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.KBD<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.LABEL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.LEGEND<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.LI<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.LINK<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.MAP<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.META<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.OBJECT<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.OL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.OPTGROUP<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.OPTION<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.P<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.PARAM<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.PRE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.Q<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SAMP<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SCRIPT<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SELECT<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SMALL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SPAN<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.STRONG<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.STYLE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SUB<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.SUP<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TABLE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TBODY<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TD<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TEXTAREA<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TFOOT<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TH<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.THEAD<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TITLE<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.TR<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.UL<T extends HamletSpec._>
Deprecated.
|
class |
Hamlet.VAR<T extends HamletSpec._>
Deprecated.
|
HamletImpl.EImp<T extends HamletSpec._>, HamletImpl.EOpt, HamletImpl.Generic<T extends HamletSpec._>
HamletSpec._, HamletSpec._Anchor, HamletSpec._Block, HamletSpec._Body, HamletSpec._Cell, HamletSpec._Child, HamletSpec._Content, HamletSpec._Dl, HamletSpec._FieldSet, HamletSpec._FontSize, HamletSpec._FontStyle, HamletSpec._Form, HamletSpec._FormCtrl, HamletSpec._Head, HamletSpec._Html, HamletSpec._ImgObject, HamletSpec._InsDel, HamletSpec._Label, HamletSpec._Legend, HamletSpec._Li, HamletSpec._Object, HamletSpec._Option, HamletSpec._Param, HamletSpec._RawContent, HamletSpec._Script, HamletSpec._Special, HamletSpec._SubSup, HamletSpec._Table, HamletSpec._TableCol, HamletSpec._TableRow, HamletSpec._Tr, HamletSpec.Attrs, HamletSpec.Block, HamletSpec.ButtonType, HamletSpec.CoreAttrs, HamletSpec.Dir, HamletSpec.Element, HamletSpec.EventsAttrs, HamletSpec.Flow, HamletSpec.FontStyle, HamletSpec.FormCtrl, HamletSpec.Heading, HamletSpec.HeadMisc, HamletSpec.I18nAttrs, HamletSpec.Inline, HamletSpec.InputType, HamletSpec.LinkType, HamletSpec.Listing, HamletSpec.Media, HamletSpec.Method, HamletSpec.PCData, HamletSpec.Phrase, HamletSpec.Preformatted, HamletSpec.Scope, HamletSpec.Shape, HamletSpec.Special
Constructor and Description |
---|
Hamlet(PrintWriter out,
int nestLevel,
boolean wasInline)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Hamlet |
_(Class<? extends SubView> cls)
Deprecated.
Embed a sub-view.
|
Hamlet.ADDRESS<Hamlet> |
address()
Deprecated.
Add a ADDRESS element.
|
Hamlet |
address(String cdata)
Deprecated.
Add a complete ADDRESS element.
|
Hamlet.BASE<Hamlet> |
base()
Deprecated.
Add a BASE element.
|
Hamlet |
base(String href)
Deprecated.
Add a complete BASE element.
|
Hamlet.BLOCKQUOTE<Hamlet> |
blockquote()
Deprecated.
Add a BLOCKQUOTE element.
|
Hamlet.BODY<Hamlet> |
body()
Deprecated.
Add a BODY element.
|
Hamlet.BODY<Hamlet> |
body(String selector)
Deprecated.
Add a BODY element.
|
Hamlet.BLOCKQUOTE<Hamlet> |
bq()
Deprecated.
Alias of blockquote
|
Hamlet.DEL<Hamlet> |
del()
Deprecated.
Add a DEL (delete) element.
|
Hamlet |
del(String cdata)
Deprecated.
Add a complete DEL element.
|
Hamlet.DIV<Hamlet> |
div()
Deprecated.
Add a DIV element.
|
Hamlet.DIV<Hamlet> |
div(String selector)
Deprecated.
Add a DIV element.
|
Hamlet.DL<Hamlet> |
dl()
Deprecated.
Add a DL (description list) element.
|
Hamlet.DL<Hamlet> |
dl(String selector)
Deprecated.
Add a DL element.
|
Hamlet.FIELDSET<Hamlet> |
fieldset()
Deprecated.
Add a FIELDSET element.
|
Hamlet.FIELDSET<Hamlet> |
fieldset(String selector)
Deprecated.
Add a FIELDSET element.
|
Hamlet.FORM<Hamlet> |
form()
Deprecated.
Add a FORM element.
|
Hamlet.FORM<Hamlet> |
form(String selector)
Deprecated.
Add a FORM element.
|
Hamlet.H1<Hamlet> |
h1()
Deprecated.
Add an H1 element.
|
Hamlet |
h1(String cdata)
Deprecated.
Add a complete H1 element.
|
Hamlet |
h1(String selector,
String cdata)
Deprecated.
Add a complete H1 element
|
Hamlet.H2<Hamlet> |
h2()
Deprecated.
Add an H2 element.
|
Hamlet |
h2(String cdata)
Deprecated.
Add a complete H2 element.
|
Hamlet |
h2(String selector,
String cdata)
Deprecated.
Add a complete H1 element
|
Hamlet.H3<Hamlet> |
h3()
Deprecated.
Add an H3 element.
|
Hamlet |
h3(String cdata)
Deprecated.
Add a complete H3 element.
|
Hamlet |
h3(String selector,
String cdata)
Deprecated.
Add a complete H1 element
|
Hamlet.H4<Hamlet> |
h4()
Deprecated.
Add an H4 element.
|
Hamlet |
h4(String cdata)
Deprecated.
Add a complete H4 element.
|
Hamlet |
h4(String selector,
String cdata)
Deprecated.
Add a complete H4 element
|
Hamlet.H5<Hamlet> |
h5()
Deprecated.
Add an H5 element.
|
Hamlet |
h5(String cdata)
Deprecated.
Add a complete H5 element.
|
Hamlet |
h5(String selector,
String cdata)
Deprecated.
Add a complete H5 element
|
Hamlet.H6<Hamlet> |
h6()
Deprecated.
Add an H6 element.
|
Hamlet |
h6(String cdata)
Deprecated.
Add a complete H6 element.
|
Hamlet |
h6(String selector,
String cdata)
Deprecated.
Add a complete H6 element.
|
Hamlet.HEAD<Hamlet> |
head()
Deprecated.
Add a HEAD element.
|
Hamlet.HR<Hamlet> |
hr()
Deprecated.
Add a HR (horizontal rule) element.
|
Hamlet |
hr(String selector)
Deprecated.
Add a HR element.
|
Hamlet.INS<Hamlet> |
ins()
Deprecated.
Add an INS (insert) element.
|
Hamlet |
ins(String cdata)
Deprecated.
Add a complete INS element.
|
Hamlet.LINK<Hamlet> |
link()
Deprecated.
Add a link element.
|
Hamlet |
link(String href)
Deprecated.
Add a link element.
|
Hamlet |
meta_http(String header,
String content)
Deprecated.
Add a meta element with http-equiv attribute.
|
Hamlet.META<Hamlet> |
meta()
Deprecated.
Add a meta element.
|
Hamlet |
meta(String name,
String content)
Deprecated.
Add a meta element.
|
Hamlet.OBJECT<Hamlet> |
object()
Deprecated.
Add an object element.
|
Hamlet.OBJECT<Hamlet> |
object(String selector)
Deprecated.
Add an object element.
|
Hamlet.OL<Hamlet> |
ol()
Deprecated.
Add a OL (ordered list) element.
|
Hamlet.OL<Hamlet> |
ol(String selector)
Deprecated.
Add a OL (ordered list) element.
|
Hamlet.P<Hamlet> |
p()
Deprecated.
Add a P (paragraph) element.
|
Hamlet.P<Hamlet> |
p(String selector)
Deprecated.
Add a P (paragraph) element.
|
Hamlet.PRE<Hamlet> |
pre()
Deprecated.
Add a PRE (preformatted) element.
|
Hamlet.PRE<Hamlet> |
pre(String selector)
Deprecated.
Add a PRE (preformatted) element.
|
Hamlet.SCRIPT<Hamlet> |
script()
Deprecated.
Add a script element.
|
Hamlet |
script(String src)
Deprecated.
Add a script element
|
Hamlet.STYLE<Hamlet> |
style()
Deprecated.
Add a style element.
|
Hamlet |
style(Object... lines)
Deprecated.
Add a css style element.
|
Hamlet.TABLE<Hamlet> |
table()
Deprecated.
Add a TABLE element.
|
Hamlet.TABLE<Hamlet> |
table(String selector)
Deprecated.
Add a TABLE element.
|
Hamlet.TITLE<Hamlet> |
title()
Deprecated.
Add a TITLE element.
|
Hamlet |
title(String cdata)
Deprecated.
Add a TITLE element.
|
Hamlet.UL<Hamlet> |
ul()
Deprecated.
Add a UL (unordered list) element.
|
Hamlet.UL<Hamlet> |
ul(String selector)
Deprecated.
Add a UL (unordered list) element.
|
getWriter, indent, nestLevel, parseSelector, printAttr, printEndTag, printStartTag, root, root, setLinkHref, setScriptSrc, setSelector, setWasInline, subView, wasInline
public Hamlet(PrintWriter out, int nestLevel, boolean wasInline)
public Hamlet.HEAD<Hamlet> head()
HamletSpec._Html
head
in interface HamletSpec._Html
public Hamlet.BODY<Hamlet> body()
HamletSpec._Html
body
in interface HamletSpec._Html
public Hamlet.BODY<Hamlet> body(String selector)
HamletSpec._Html
body
in interface HamletSpec._Html
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.BASE<Hamlet> base()
HamletSpec._Head
base
in interface HamletSpec._Head
public Hamlet base(String href)
HamletSpec._Head
base
in interface HamletSpec._Head
public Hamlet.TITLE<Hamlet> title()
HamletSpec._Head
title
in interface HamletSpec._Head
public Hamlet title(String cdata)
HamletSpec._Head
title
in interface HamletSpec._Head
cdata
- the contentpublic Hamlet.STYLE<Hamlet> style()
HamletSpec.HeadMisc
style
in interface HamletSpec.HeadMisc
public Hamlet style(Object... lines)
HamletSpec.HeadMisc
style
in interface HamletSpec.HeadMisc
lines
- content of the style sheetpublic Hamlet.LINK<Hamlet> link()
HamletSpec.HeadMisc
link
in interface HamletSpec.HeadMisc
public Hamlet link(String href)
HamletSpec.HeadMisc
link("style.css");
is a shortcut of
link().$rel("stylesheet").$type("text/css").$href("style.css")._();
link
in interface HamletSpec.HeadMisc
href
- of the linkpublic Hamlet.META<Hamlet> meta()
HamletSpec.HeadMisc
meta
in interface HamletSpec.HeadMisc
public Hamlet meta(String name, String content)
HamletSpec.HeadMisc
meta().$name(name).$content(content)._();
meta
in interface HamletSpec.HeadMisc
name
- of the meta elementcontent
- of the meta elementpublic Hamlet meta_http(String header, String content)
HamletSpec.HeadMisc
meta().$http_equiv(header).$content(content)._();
meta_http
in interface HamletSpec.HeadMisc
header
- for the http-equiv attributecontent
- of the headerpublic Hamlet.SCRIPT<Hamlet> script()
HamletSpec._Script
script
in interface HamletSpec._Script
public Hamlet script(String src)
HamletSpec._Script
script
in interface HamletSpec._Script
src
- uri of the scriptpublic Hamlet.OBJECT<Hamlet> object()
HamletSpec._Object
object
in interface HamletSpec._Object
public Hamlet.OBJECT<Hamlet> object(String selector)
HamletSpec._Object
object
in interface HamletSpec._Object
selector
- as #id.class etc.public Hamlet.TABLE<Hamlet> table()
HamletSpec._Block
table
in interface HamletSpec._Block
public Hamlet.TABLE<Hamlet> table(String selector)
HamletSpec._Block
table
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet address(String cdata)
HamletSpec._Block
address
in interface HamletSpec._Block
cdata
- the contentpublic Hamlet.ADDRESS<Hamlet> address()
HamletSpec._Block
address
in interface HamletSpec._Block
public Hamlet.P<Hamlet> p(String selector)
HamletSpec._Block
p
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.P<Hamlet> p()
HamletSpec._Block
p
in interface HamletSpec._Block
public Hamlet _(Class<? extends SubView> cls)
HamletSpec._Block
_
in interface HamletSpec._Block
cls
- the sub-view classpublic Hamlet.HR<Hamlet> hr()
HamletSpec._Block
hr
in interface HamletSpec._Block
public Hamlet hr(String selector)
HamletSpec._Block
hr
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.DL<Hamlet> dl(String selector)
HamletSpec._Block
dl
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.DL<Hamlet> dl()
HamletSpec._Block
dl
in interface HamletSpec._Block
public Hamlet.DIV<Hamlet> div(String selector)
HamletSpec._Block
div
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.DIV<Hamlet> div()
HamletSpec._Block
div
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet> blockquote()
HamletSpec._Block
blockquote
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet> bq()
HamletSpec._Block
bq
in interface HamletSpec._Block
public Hamlet h1(String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H1<Hamlet> h1()
HamletSpec.Heading
h1
in interface HamletSpec.Heading
public Hamlet h1(String selector, String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet h2(String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H2<Hamlet> h2()
HamletSpec.Heading
h2
in interface HamletSpec.Heading
public Hamlet h2(String selector, String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H3<Hamlet> h3()
HamletSpec.Heading
h3
in interface HamletSpec.Heading
public Hamlet h3(String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet h3(String selector, String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H4<Hamlet> h4()
HamletSpec.Heading
h4
in interface HamletSpec.Heading
public Hamlet h4(String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet h4(String selector, String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H5<Hamlet> h5()
HamletSpec.Heading
h5
in interface HamletSpec.Heading
public Hamlet h5(String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet h5(String selector, String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.H6<Hamlet> h6()
HamletSpec.Heading
h6
in interface HamletSpec.Heading
public Hamlet h6(String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet h6(String selector, String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the elementpublic Hamlet.UL<Hamlet> ul()
HamletSpec.Listing
ul
in interface HamletSpec.Listing
public Hamlet.UL<Hamlet> ul(String selector)
HamletSpec.Listing
ul
in interface HamletSpec.Listing
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.OL<Hamlet> ol()
HamletSpec.Listing
ol
in interface HamletSpec.Listing
public Hamlet.OL<Hamlet> ol(String selector)
HamletSpec.Listing
ol
in interface HamletSpec.Listing
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.PRE<Hamlet> pre()
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
public Hamlet.PRE<Hamlet> pre(String selector)
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.FORM<Hamlet> form()
HamletSpec._Form
form
in interface HamletSpec._Form
public Hamlet.FORM<Hamlet> form(String selector)
HamletSpec._Form
form
in interface HamletSpec._Form
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.FIELDSET<Hamlet> fieldset()
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
public Hamlet.FIELDSET<Hamlet> fieldset(String selector)
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.INS<Hamlet> ins()
HamletSpec._InsDel
ins
in interface HamletSpec._InsDel
public Hamlet ins(String cdata)
HamletSpec._InsDel
ins
in interface HamletSpec._InsDel
cdata
- inserted datapublic Hamlet.DEL<Hamlet> del()
HamletSpec._InsDel
del
in interface HamletSpec._InsDel
public Hamlet del(String cdata)
HamletSpec._InsDel
del
in interface HamletSpec._InsDel
cdata
- deleted dataCopyright © 2008–2019 Apache Software Foundation. All rights reserved.