Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » web » servlet » view » xslt » [javadoc | source]
org.springframework.web.servlet.view.xslt
public class: XsltViewResolver [javadoc | source]
java.lang.Object
   org.springframework.context.support.ApplicationObjectSupport
      org.springframework.web.context.support.WebApplicationObjectSupport
         org.springframework.web.servlet.view.AbstractCachingViewResolver
            org.springframework.web.servlet.view.UrlBasedViewResolver
               org.springframework.web.servlet.view.xslt.XsltViewResolver

All Implemented Interfaces:
    Ordered, ViewResolver, ServletContextAware, ApplicationContextAware

org.springframework.web.servlet.ViewResolver implementation that resolves instances of XsltView by translating the supplied view name into the URL of the XSLT stylesheet.
Fields inherited from org.springframework.web.servlet.view.UrlBasedViewResolver:
REDIRECT_URL_PREFIX,  FORWARD_URL_PREFIX
Fields inherited from org.springframework.context.support.ApplicationObjectSupport:
logger
Constructor:
 public XsltViewResolver() 
Method from org.springframework.web.servlet.view.xslt.XsltViewResolver Summary:
buildView,   requiredViewClass,   setCacheTemplates,   setErrorListener,   setIndent,   setOutputProperties,   setSourceKey,   setUriResolver
Methods from org.springframework.web.servlet.view.UrlBasedViewResolver:
buildView,   canHandle,   createView,   getAttributesMap,   getCacheKey,   getContentType,   getOrder,   getPrefix,   getRequestContextAttribute,   getSuffix,   getViewClass,   getViewNames,   initApplicationContext,   isRedirectContextRelative,   isRedirectHttp10Compatible,   loadView,   requiredViewClass,   setAttributes,   setAttributesMap,   setContentType,   setOrder,   setPrefix,   setRedirectContextRelative,   setRedirectHttp10Compatible,   setRequestContextAttribute,   setSuffix,   setViewClass,   setViewNames
Methods from org.springframework.web.servlet.view.AbstractCachingViewResolver:
clearCache,   createView,   getCacheKey,   isCache,   loadView,   removeFromCache,   resolveViewName,   setCache
Methods from org.springframework.web.context.support.WebApplicationObjectSupport:
getServletContext,   getTempDir,   getWebApplicationContext,   initApplicationContext,   initServletContext,   isContextRequired,   setServletContext
Methods from org.springframework.context.support.ApplicationObjectSupport:
getApplicationContext,   getMessageSourceAccessor,   initApplicationContext,   initApplicationContext,   isContextRequired,   requiredContextClass,   setApplicationContext
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.web.servlet.view.xslt.XsltViewResolver Detail:
 protected AbstractUrlBasedView buildView(String viewName) throws Exception 
 protected Class requiredViewClass() 
 public  void setCacheTemplates(boolean cacheTemplates) 
    Turn on/off the caching of the XSLT templates.

    The default value is "true". Only set this to "false" in development, where caching does not seriously impact performance.

 public  void setErrorListener(ErrorListener errorListener) 
 public  void setIndent(boolean indent) 
    Set whether the XSLT transformer may add additional whitespace when outputting the result tree.

    Default is true (on); set this to false (off) to not specify an "indent" key, leaving the choice up to the stylesheet.

 public  void setOutputProperties(Properties outputProperties) 
    Set arbitrary transformer output properties to be applied to the stylesheet.

    Any values specified here will override defaults that this view sets programmatically.

 public  void setSourceKey(String sourceKey) 
 public  void setUriResolver(URIResolver uriResolver) 
    Set the URIResolver used in the transform.

    The URIResolver handles calls to the XSLT document() function.