org.directwebremoting.servlet
Class DojoDtoHandler
java.lang.Object
org.directwebremoting.servlet.CachingHandler
org.directwebremoting.servlet.TemplateHandler
org.directwebremoting.servlet.JavaScriptHandler
org.directwebremoting.servlet.GeneratedJavaScriptHandler
org.directwebremoting.servlet.BaseDtoHandler
org.directwebremoting.servlet.DojoDtoHandler
- All Implemented Interfaces:
- Handler
public class DojoDtoHandler
- extends BaseDtoHandler
A handler for DTO class generation requests compatible with the Dojo module format.
- Author:
- Mike Wilson [mikewse at hotmail dot com]
|
Method Summary |
java.lang.String |
generateDtoScript(java.lang.String contextPath,
java.lang.String servletPath,
java.lang.String jsClassName)
Does the actual work of generating the dto script |
void |
setDojoDtoBaseModulePath(java.lang.String modulePath)
Setter for the module path that DTO is on |
void |
setDojoDtoHandlerUrl(java.lang.String dojoDtoHandlerUrl)
Setter for the URL that this handler is available on |
void |
setDojoDwrBaseModulePath(java.lang.String modulePath)
Setter for the module path that dwr.engine is on |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DojoDtoHandler
public DojoDtoHandler()
generateDtoScript
public java.lang.String generateDtoScript(java.lang.String contextPath,
java.lang.String servletPath,
java.lang.String jsClassName)
- Description copied from class:
BaseDtoHandler
- Does the actual work of generating the dto script
- Specified by:
generateDtoScript in class BaseDtoHandler
- Parameters:
contextPath - TODOservletPath - TODO
- Returns:
- dto script
setDojoDtoHandlerUrl
public void setDojoDtoHandlerUrl(java.lang.String dojoDtoHandlerUrl)
- Setter for the URL that this handler is available on
- Parameters:
dojoDtoHandlerUrl - the dtoHandlerUrl to set
setDojoDwrBaseModulePath
public void setDojoDwrBaseModulePath(java.lang.String modulePath)
- Setter for the module path that dwr.engine is on
- Parameters:
modulePath - the modulePath to set
setDojoDtoBaseModulePath
public void setDojoDtoBaseModulePath(java.lang.String modulePath)
- Setter for the module path that DTO is on
- Parameters:
modulePath - the modulePath to set