net.sf.webmancer.out.xslt
Class XsltView

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.view.AbstractView
              extended by org.springframework.web.servlet.view.xslt.AbstractXsltView
                  extended by net.sf.webmancer.out.xslt.XsltView
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View

public class XsltView
extends org.springframework.web.servlet.view.xslt.AbstractXsltView

Author:
Michal Burda

Field Summary
static java.lang.String DEFAULT_WEBMANCER_CONTENT_TYPE
           
 
Fields inherited from class org.springframework.web.servlet.view.xslt.AbstractXsltView
DEFAULT_ROOT, XML_CONTENT_TYPE
 
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
XsltView()
          Constructs the XsltView.
 
Method Summary
protected  javax.xml.transform.Source createXsltSource(java.util.Map model, java.lang.String rootName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setRoot(java.lang.String root)
           
 
Methods inherited from class org.springframework.web.servlet.view.xslt.AbstractXsltView
applyTransformerParameters, buildTransformer, doTransform, doTransform, getParameters, getParameters, getParameters, getStylesheetLocation, getStylesheetSource, getTemplates, getTransformerFactory, initApplicationContext, renderMergedOutputModel, resetCachedTemplates, setCache, setErrorListener, setIndent, setOutputProperties, setStylesheetLocation, setUriResolver, setUseSingleModelNameAsRoot, useWriter
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, exposeModelAsRequestAttributes, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, toString
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_WEBMANCER_CONTENT_TYPE

public static final java.lang.String DEFAULT_WEBMANCER_CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

XsltView

public XsltView()
Constructs the XsltView.

Method Detail

createXsltSource

protected javax.xml.transform.Source createXsltSource(java.util.Map model,
                                                      java.lang.String rootName,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Overrides:
createXsltSource in class org.springframework.web.servlet.view.xslt.AbstractXsltView
Throws:
java.lang.Exception
See Also:
AbstractXsltView.createXsltSource(java.util.Map, java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

setRoot

public void setRoot(java.lang.String root)
Overrides:
setRoot in class org.springframework.web.servlet.view.xslt.AbstractXsltView
Throws:
java.lang.UnsupportedOperationException - because setting the root is not supported
See Also:
AbstractXsltView.setRoot(java.lang.String)


Copyright © 2006-2007. All Rights Reserved.