org.springframework.web.servlet.view
Class AbstractUrlBasedView

org.springframework.context.support.ApplicationObjectSupport
  |
  +--org.springframework.web.context.support.WebApplicationObjectSupport
        |
        +--org.springframework.web.servlet.view.AbstractView
              |
              +--org.springframework.web.servlet.view.AbstractUrlBasedView
Direct Known Subclasses:
InternalResourceView, RedirectView, VelocityView

public abstract class AbstractUrlBasedView
extends AbstractView

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.

Author:
Juergen Hoeller
Since: 13.12.2003

Method Summary
 final StringgetUrl()
          Return the URL of the resource that this view wraps.
 final voidsetUrl(String url)
          Set the URL of the resource that this view wraps.

Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, getBeanName, getStaticAttributes, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute

Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, setApplicationContext

Method Detail

getUrl

public final String getUrl()
Return the URL of the resource that this view wraps.

setUrl

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

Association Links

to Class java.lang.String