org.directwebremoting.servlet
Class DojoDtoHandler

java.lang.Object
  extended by org.directwebremoting.servlet.CachingHandler
      extended by org.directwebremoting.servlet.TemplateHandler
          extended by org.directwebremoting.servlet.JavaScriptHandler
              extended by org.directwebremoting.servlet.GeneratedJavaScriptHandler
                  extended by org.directwebremoting.servlet.BaseDtoHandler
                      extended by 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]

Constructor Summary
DojoDtoHandler()
           
 
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 org.directwebremoting.servlet.BaseDtoHandler
setConverterManager, setGenerateDtoClasses, toString
 
Methods inherited from class org.directwebremoting.servlet.GeneratedJavaScriptHandler
setRemoter
 
Methods inherited from class org.directwebremoting.servlet.JavaScriptHandler
generateCachableContent, setCompressor, setDebug
 
Methods inherited from class org.directwebremoting.servlet.CachingHandler
getMimeType, handle, setIgnoreLastModified, setMimeType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DojoDtoHandler

public DojoDtoHandler()
Method Detail

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 - TODO
servletPath - 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

Copyright ยจ 2008