@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public abstract class HtmlBlock extends TextView implements SubView
Modifier and Type | Class and Description |
---|---|
class |
HtmlBlock.Block |
View.ViewContext
Modifier and Type | Field and Description |
---|---|
protected static String |
UNAVAILABLE |
ERROR_DETAILS, TITLE, TITLE_LINK, USER
Modifier | Constructor and Description |
---|---|
protected |
HtmlBlock() |
protected |
HtmlBlock(View.ViewContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.security.UserGroupInformation |
getCallerUGI() |
void |
render()
The API to render the view
|
protected abstract void |
render(HtmlBlock.Block html)
Render a block of html.
|
void |
renderPartial()
render the sub-view
|
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer
protected static final String UNAVAILABLE
protected HtmlBlock()
protected HtmlBlock(View.ViewContext ctx)
public void render()
View
public void renderPartial()
SubView
renderPartial
in interface SubView
protected abstract void render(HtmlBlock.Block html)
html
- the block to renderprotected org.apache.hadoop.security.UserGroupInformation getCallerUGI()
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.