org.jdiagnose.library.web.spring
Class VelocityToolboxViewResolver

java.lang.Object
  extended byorg.springframework.context.support.ApplicationObjectSupport
      extended byorg.springframework.web.context.support.WebApplicationObjectSupport
          extended byorg.springframework.web.servlet.view.AbstractCachingViewResolver
              extended byorg.springframework.web.servlet.view.UrlBasedViewResolver
                  extended byorg.springframework.web.servlet.view.AbstractTemplateViewResolver
                      extended byorg.jdiagnose.library.web.spring.VelocityToolboxViewResolver
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.ViewResolver

public class VelocityToolboxViewResolver
extends org.springframework.web.servlet.view.AbstractTemplateViewResolver

Author:
jmccrindle

Field Summary
 
Fields inherited from class org.springframework.web.servlet.view.UrlBasedViewResolver
FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
VelocityToolboxViewResolver()
           
 
Method Summary
protected  org.springframework.web.servlet.View loadView(java.lang.String viewName, java.util.Locale locale)
           
protected  java.lang.Class requiredViewClass()
           
 void setDateToolAttribute(java.lang.String dateToolAttribute)
           
 void setNumberToolAttribute(java.lang.String numberToolAttribute)
           
 void setToolboxConfigLocation(java.lang.String toolboxConfigLocation)
           
 void setVelocityFormatterAttribute(java.lang.String velocityFormatterAttribute)
           
 
Methods inherited from class org.springframework.web.servlet.view.AbstractTemplateViewResolver
setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers
 
Methods inherited from class org.springframework.web.servlet.view.UrlBasedViewResolver
createView, getAttributesMap, getCacheKey, initApplicationContext, setAttributes, setAttributesMap, setContentType, setPrefix, setRedirectContextRelative, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass
 
Methods inherited from class org.springframework.web.servlet.view.AbstractCachingViewResolver
isCache, removeFromCache, resolveViewName, setCache
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, isContextRequired
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityToolboxViewResolver

public VelocityToolboxViewResolver()
Method Detail

loadView

protected org.springframework.web.servlet.View loadView(java.lang.String viewName,
                                                        java.util.Locale locale)
                                                 throws org.springframework.beans.BeansException
Throws:
org.springframework.beans.BeansException

setToolboxConfigLocation

public void setToolboxConfigLocation(java.lang.String toolboxConfigLocation)

requiredViewClass

protected java.lang.Class requiredViewClass()

setVelocityFormatterAttribute

public void setVelocityFormatterAttribute(java.lang.String velocityFormatterAttribute)

setDateToolAttribute

public void setDateToolAttribute(java.lang.String dateToolAttribute)

setNumberToolAttribute

public void setNumberToolAttribute(java.lang.String numberToolAttribute)


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.