org.apache.hadoop.yarn.webapp.example
Class MyApp.MyView

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.View
      extended by org.apache.hadoop.yarn.webapp.view.TextView
          extended by org.apache.hadoop.yarn.webapp.view.HtmlPage
              extended by org.apache.hadoop.yarn.webapp.example.MyApp.MyView
All Implemented Interfaces:
Params
Enclosing class:
MyApp

public static class MyApp.MyView
extends HtmlPage


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.view.HtmlPage
HtmlPage._, HtmlPage.Page
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.View
View.ViewContext
 
Field Summary
 
Fields inherited from class org.apache.hadoop.yarn.webapp.view.HtmlPage
DOCTYPE
 
Fields inherited from class org.apache.hadoop.yarn.webapp.View
LOG
 
Fields inherited from interface org.apache.hadoop.yarn.webapp.Params
ERROR_DETAILS, TITLE, TITLE_LINK, USER
 
Constructor Summary
MyApp.MyView()
           
 
Method Summary
 void render(Hamlet.HTML<HtmlPage._> html)
          Render the the HTML page.
 
Methods inherited from class org.apache.hadoop.yarn.webapp.view.HtmlPage
render
 
Methods inherited from class org.apache.hadoop.yarn.webapp.view.TextView
echo, puts, writer
 
Methods inherited from class org.apache.hadoop.yarn.webapp.View
$, $, context, cookies, error, getInstance, inDevMode, info, injector, moreParams, outputStream, prefix, render, request, response, root_url, root, set, setTitle, setTitle, status, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyApp.MyView

public MyApp.MyView()
Method Detail

render

public void render(Hamlet.HTML<HtmlPage._> html)
Description copied from class: HtmlPage
Render the the HTML page.

Specified by:
render in class HtmlPage
Parameters:
html - the page to render data to.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.