| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.springframework.context.support.ApplicationObjectSupport
|
+--org.springframework.web.context.support.WebApplicationObjectSupport
|
+--org.springframework.web.servlet.view.AbstractView
|
+--org.springframework.web.servlet.view.xslt.AbstractXsltView
Convenient superclass for views rendered using an XSLT stylesheet. Subclasses must provide the XML W3C document to transform. They do not need to concern themselves with XSLT.
Properties:
Setting cache to false will cause the templates object to be reloaded for each rendering. This is useful during development, but will seriously affect performance in production and isn't threadsafe.
| Method Summary | |
final void | setCache(boolean cache)Activate or deactivate the cache. |
final void | setRoot(String root)Document root element name. |
final void | setStylesheetLocation(Resource stylesheetLocation)Set the location of the XSLT stylesheet. |
final void | setUriResolver(URIResolver uriResolver)Set the URIResolver used in the transform. |
| 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 |
public final void setCache(boolean cache)
public final void setRoot(String root)
public final void setStylesheetLocation(Resource stylesheetLocation)
public final void setUriResolver(URIResolver uriResolver)
| Association Links |
to Class java.lang.String
to Class javax.xml.transform.URIResolver
to Class javax.xml.transform.TransformerFactory
to Class javax.xml.transform.Templates
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||