org.skyscreamer.yoga.springmvc.view
Class YogaSpringView

java.lang.Object
  extended by org.skyscreamer.yoga.springmvc.view.YogaSpringView
All Implemented Interfaces:
org.springframework.web.servlet.View

public class YogaSpringView
extends Object
implements org.springframework.web.servlet.View

This MessageConvert gets the selector from the request. Children do the interesting output. NOTE: you have to put in a org.skyscreamer.yoga.springmvc.view.RequestHolder in your web.xml file

Author:
Solomon Duskis

Field Summary
 
Fields inherited from interface org.springframework.web.servlet.View
RESPONSE_STATUS_ATTRIBUTE
 
Constructor Summary
YogaSpringView()
           
 
Method Summary
 String getContentType()
           
 void render(Map<String,?> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setYogaView(AbstractYogaView yogaView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YogaSpringView

public YogaSpringView()
Method Detail

setYogaView

public void setYogaView(AbstractYogaView yogaView)

render

public void render(Map<String,?> model,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws Exception
Specified by:
render in interface org.springframework.web.servlet.View
Throws:
Exception

getContentType

public String getContentType()
Specified by:
getContentType in interface org.springframework.web.servlet.View


Copyright © 2013. All Rights Reserved.