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

All Implemented Interfaces:
    InitializingBean, View, BeanNameAware, ServletContextAware, ApplicationContextAware

Direct Known Subclasses:
    AbstractTemplateView, FreeMarkerView, TilesView, JasperReportsCsvView, JasperReportsXlsView, JasperReportsPdfView, TilesView, RedirectView, AbstractJasperReportsSingleFormatView, AbstractPdfStamperView, VelocityToolboxView, JasperReportsHtmlView, VelocityLayoutView, AbstractJasperReportsView, VelocityView, JstlView, ConfigurableJasperReportsView, XsltView, TilesJstlView, InternalResourceView, JasperReportsMultiFormatView

Abstract base class for URL-based views. Provides a consistent way of holding the URL that a View wraps, in the form of a "url" bean property.
Fields inherited from org.springframework.web.servlet.view.AbstractView:
DEFAULT_CONTENT_TYPE
Fields inherited from org.springframework.context.support.ApplicationObjectSupport:
logger
Constructor:
 protected AbstractUrlBasedView() 
 protected AbstractUrlBasedView(String url) 
    Create a new AbstractUrlBasedView with the given URL.
    Parameters:
    url - the URL to forward to
Method from org.springframework.web.servlet.view.AbstractUrlBasedView Summary:
afterPropertiesSet,   getUrl,   isUrlRequired,   setUrl,   toString
Methods from org.springframework.web.servlet.view.AbstractView:
addStaticAttribute,   createRequestContext,   createTemporaryOutputStream,   exposeModelAsRequestAttributes,   generatesDownloadContent,   getAttributesMap,   getBeanName,   getContentType,   getRequestContextAttribute,   getStaticAttributes,   prepareResponse,   render,   renderMergedOutputModel,   setAttributes,   setAttributesCSV,   setAttributesMap,   setBeanName,   setContentType,   setRequestContextAttribute,   toString,   writeToResponse
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.AbstractUrlBasedView Detail:
 public  void afterPropertiesSet() throws Exception 
 public String getUrl() 
    Return the URL of the resource that this view wraps.
 protected boolean isUrlRequired() 
    Return whether the 'url' property is required.

    The default implementation returns true

 public  void setUrl(String url) 
    Set the URL of the resource that this view wraps. The URL must be appropriate for the concrete View implementation.
 public String toString()