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.jasperreports.JasperReportsViewResolver |
ViewResolver
implementation that
resolves instances of AbstractJasperReportsView
by translating
the supplied view name into the URL of the report file.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.servlet.view.UrlBasedViewResolver
| |||||||||||
From interface
org.springframework.core.Ordered
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.context.support.ApplicationObjectSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the
exporterParameters the view class should use. | |||||||||||
Set the
headers the view class should use. | |||||||||||
Set the
DataSource the view class should use. | |||||||||||
Set the
reportDataKey the view class should use. | |||||||||||
Set the
subReportDataKeys the view class should use. | |||||||||||
Set the
subReportUrls the view class should use. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new View instance of the specified view class and configures it.
| |||||||||||
Requires the view class to be a subclass of
AbstractJasperReportsView . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.servlet.view.UrlBasedViewResolver
| |||||||||||
From class
org.springframework.web.servlet.view.AbstractCachingViewResolver
| |||||||||||
From class
org.springframework.web.context.support.WebApplicationObjectSupport
| |||||||||||
From class
org.springframework.context.support.ApplicationObjectSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.context.ApplicationContextAware
| |||||||||||
From interface
org.springframework.core.Ordered
| |||||||||||
From interface
org.springframework.web.context.ServletContextAware
| |||||||||||
From interface
org.springframework.web.servlet.ViewResolver
|
Set the exporterParameters
the view class should use.
Set the DataSource
the view class should use.
Set the reportDataKey
the view class should use.
Set the subReportDataKeys
the view class should use.
Set the subReportUrls
the view class should use.
Creates a new View instance of the specified view class and configures it. Does not perform any lookup for pre-defined View instances.
Spring lifecycle methods as defined by the bean container do not have to
be called here; those will be applied by the loadView
method
after this method returns.
Subclasses will typically call super.buildView(viewName)
first, before setting further properties themselves. loadView
will then apply Spring lifecycle methods at the end of this process.
viewName | the name of the view to build |
---|
Exception |
---|
Requires the view class to be a subclass of AbstractJasperReportsView
.