Package com.aspectran.web.support.view
Class JspViewDispatcher
- java.lang.Object
-
- com.aspectran.web.support.view.JspViewDispatcher
-
- All Implemented Interfaces:
com.aspectran.core.activity.response.dispatch.ViewDispatcher
public class JspViewDispatcher extends java.lang.Object implements com.aspectran.core.activity.response.dispatch.ViewDispatcherJSP or other web resource integration. Sends the model produced by Aspectran's internal activity to the JSP to render the final view page.Created: 2008. 03. 22 PM 5:51:58
-
-
Constructor Summary
Constructors Constructor Description JspViewDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispatch(com.aspectran.core.activity.Activity activity, com.aspectran.core.context.rule.DispatchRule dispatchRule)java.lang.StringgetContentType()booleanisSingleton()voidsetContentType(java.lang.String contentType)voidsetPrefix(java.lang.String prefix)Sets the prefix for the template name.voidsetSuffix(java.lang.String suffix)Sets the suffix for the template name.java.lang.StringtoString()
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentTypein interfacecom.aspectran.core.activity.response.dispatch.ViewDispatcher
-
setContentType
public void setContentType(java.lang.String contentType)
-
setPrefix
public void setPrefix(java.lang.String prefix)
Sets the prefix for the template name.- Parameters:
prefix- the new prefix for the template name
-
setSuffix
public void setSuffix(java.lang.String suffix)
Sets the suffix for the template name.- Parameters:
suffix- the new suffix for the template name
-
dispatch
public void dispatch(com.aspectran.core.activity.Activity activity, com.aspectran.core.context.rule.DispatchRule dispatchRule) throws com.aspectran.core.activity.response.dispatch.ViewDispatcherException- Specified by:
dispatchin interfacecom.aspectran.core.activity.response.dispatch.ViewDispatcher- Throws:
com.aspectran.core.activity.response.dispatch.ViewDispatcherException
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfacecom.aspectran.core.activity.response.dispatch.ViewDispatcher
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-