Skip navigation links 
 
oracle.stellent.wcm.client.script.vm
Class VelocityScript
java.lang.Object
   oracle.stellent.wcm.client.script.vm.VelocityScript
oracle.stellent.wcm.client.script.vm.VelocityScript
- All Implemented Interfaces:
- ScriptTemplate
- 
public class VelocityScript
 
- extends java.lang.Object
- implements ScriptTemplate
 
  
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
VelocityScript
public VelocityScript(VelocityScriptProvider velocityProvider,
                      java.lang.String contentUri,
                      RequestContext requestContext)
getVelocityManager
public VelocityScriptProvider getVelocityManager()
setContext
public void setContext(org.apache.velocity.context.Context context)
getContext
public org.apache.velocity.context.Context getContext()
                                               throws ApplicationException
- 
- Throws:
- ApplicationException
 
getContentUri
public java.lang.String getContentUri()
getWriter
public java.io.Writer getWriter()
                         throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> context)
                throws ApplicationException
- Set the context objects for this script
- 
- Specified by:
- setContextin interface- ScriptTemplate
 
- 
- Parameters:
- context- the context
- Throws:
- ScriptException
- ApplicationException
 
executeScript
public void executeScript()
                   throws ScriptException,
                          java.io.IOException
- Execute the script.
- 
- Specified by:
- executeScriptin interface- ScriptTemplate
 
- 
- Throws:
- ScriptException
- java.io.IOException
 
Skip navigation links 
 
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.