@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"})
public abstract class HtmlBlock
extends TextView
implements SubView
| Modifier and Type | Class and Description |
|---|---|
class |
HtmlBlock.Block |
View.ViewContextERROR_DETAILS, TITLE, TITLE_LINK, USER| Modifier | Constructor and Description |
|---|---|
protected |
HtmlBlock() |
protected |
HtmlBlock(View.ViewContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
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
|
protected HtmlBlock()
protected HtmlBlock(View.ViewContext ctx)
public void render()
Viewpublic void renderPartial()
SubViewrenderPartial in interface SubViewprotected abstract void render(HtmlBlock.Block html)
html - the block to renderCopyright © 2014 Apache Software Foundation. All Rights Reserved.