@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public abstract class HtmlPage extends TextView
render(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML)
to actually render the page.Modifier and Type | Class and Description |
---|---|
static class |
HtmlPage.__ |
class |
HtmlPage.Page |
View.ViewContext
Modifier and Type | Field and Description |
---|---|
static String |
DOCTYPE |
ERROR_DETAILS, TITLE, TITLE_LINK, USER
Modifier | Constructor and Description |
---|---|
protected |
HtmlPage() |
protected |
HtmlPage(View.ViewContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
render()
The API to render the view
|
protected abstract void |
render(Hamlet.HTML<HtmlPage.__> html)
Render the HTML page.
|
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer
public static final String DOCTYPE
protected HtmlPage()
protected HtmlPage(View.ViewContext ctx)
public void render()
View
protected abstract void render(Hamlet.HTML<HtmlPage.__> html)
html
- the page to render data to.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.