Class HtmlPage
java.lang.Object
org.apache.hadoop.yarn.webapp.View
org.apache.hadoop.yarn.webapp.view.TextView
org.apache.hadoop.yarn.webapp.view.HtmlPage
- All Implemented Interfaces:
Params
- Direct Known Subclasses:
ErrorPage,HelloWorld.HelloView,MyApp.MyView,TwoColumnCssLayout,TwoColumnLayout
The parent class of all HTML pages. Override
render(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML)
to actually render the page.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.View
View.ViewContext -
Field Summary
FieldsFields inherited from interface org.apache.hadoop.yarn.webapp.Params
ERROR_DETAILS, TITLE, TITLE_LINK, USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender()The API to render the viewprotected abstract voidrender(Hamlet.HTML<HtmlPage.__> html) Render the HTML page.Methods inherited from class org.apache.hadoop.yarn.webapp.view.TextView
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writer
-
Field Details
-
DOCTYPE
- See Also:
-
-
Constructor Details
-
HtmlPage
protected HtmlPage() -
HtmlPage
-
-
Method Details