| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   javax.servlet.GenericServlet
javax.servlet.GenericServlet
       javax.servlet.http.HttpServlet
javax.servlet.http.HttpServlet
           org.apache.velocity.tools.view.servlet.VelocityViewServlet
org.apache.velocity.tools.view.servlet.VelocityViewServlet
               oracle.stellent.wcm.javaee.script.velocity.IdcVelocityServlet
oracle.stellent.wcm.javaee.script.velocity.IdcVelocityServlet
public class IdcVelocityServlet
Customize the Velocity servlet to load templates from the Content Server
| Field Summary | 
|---|
| Fields inherited from class org.apache.velocity.tools.view.servlet.VelocityViewServlet | 
|---|
| CONTENT_TYPE, DEFAULT_CONTENT_TYPE, DEFAULT_OUTPUT_ENCODING, DEFAULT_PROPERTIES_PATH, DEFAULT_TOOLBOX_PATH, DEFAULT_TOOLS_PROPERTIES, INIT_PROPS_KEY, SERVLET_CONTEXT_KEY, TOOLBOX_KEY, toolboxManager | 
| Constructor Summary | |
|---|---|
| IdcVelocityServlet() | |
| Method Summary | |
|---|---|
| protected  org.apache.commons.collections.ExtendedProperties | loadConfiguration(javax.servlet.ServletConfig config) | 
| protected  void | performMerge(org.apache.velocity.Template template, org.apache.velocity.context.Context context, java.io.Writer writer)This is here so developers may override it and gain access to the Writer which the template will be merged into. | 
| protected  void | setVelocityEngine(org.apache.velocity.app.VelocityEngine ve) | 
| Methods inherited from class org.apache.velocity.tools.view.servlet.VelocityViewServlet | 
|---|
| createContext, doGet, doPost, doRequest, error, fillContext, findInitParameter, getResponseWriter, getTemplate, getTemplate, getTemplate, getTemplate, getVelocityEngine, getVelocityProperty, handleRequest, init, initToolbox, initVelocity, mergeTemplate, requestCleanup, setContentType | 
| Methods inherited from class javax.servlet.http.HttpServlet | 
|---|
| doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service | 
| Methods inherited from class javax.servlet.GenericServlet | 
|---|
| destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public IdcVelocityServlet()
| Method Detail | 
|---|
protected void setVelocityEngine(org.apache.velocity.app.VelocityEngine ve)
setVelocityEngine in class org.apache.velocity.tools.view.servlet.VelocityViewServlet
protected org.apache.commons.collections.ExtendedProperties loadConfiguration(javax.servlet.ServletConfig config)
                                                                       throws java.io.IOException
loadConfiguration in class org.apache.velocity.tools.view.servlet.VelocityViewServletjava.io.IOException
protected void performMerge(org.apache.velocity.Template template,
                            org.apache.velocity.context.Context context,
                            java.io.Writer writer)
                     throws org.apache.velocity.exception.ResourceNotFoundException,
                            org.apache.velocity.exception.ParseErrorException,
                            org.apache.velocity.exception.MethodInvocationException,
                            java.lang.Exception
performMerge in class org.apache.velocity.tools.view.servlet.VelocityViewServlettemplate - template object returned by the handleRequest() methodcontext - Context created by the VelocityViewServlet.createContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)writer - a VelocityWriter that the template is merged intoorg.apache.velocity.exception.ResourceNotFoundExceptionorg.apache.velocity.exception.ParseErrorExceptionorg.apache.velocity.exception.MethodInvocationExceptionjava.lang.Exception| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||