public class VelocityPortletRenderContext extends Object implements PortletRenderContext
| Constructor and Description |
|---|
VelocityPortletRenderContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
dump()
Converr the render context to a string suitable for dumping to a log file or console.
|
Map |
getOptions() |
org.apache.velocity.context.Context |
getVelocityContext() |
boolean |
isDebug() |
void |
put(String key,
Object value)
Set a value agaaisnt a Key, normally a value might be a String, Collection or a Map, but
depending on the render engine technology other objects may be acceptable.
|
void |
setDebug(boolean debug) |
void |
setOptions(Map options) |
boolean |
uses(String includeOption)
Return true if the context needs this part of the portal
|
public boolean isDebug()
public void setDebug(boolean debug)
public void put(String key, Object value)
PortletRenderContextput in interface PortletRenderContextpublic org.apache.velocity.context.Context getVelocityContext()
public String dump()
PortletRenderContextdump in interface PortletRenderContextpublic boolean uses(String includeOption)
PortletRenderContextuses in interface PortletRenderContextpublic Map getOptions()
public void setOptions(Map options)
Copyright © 2003-2016 Sakai Foundation. All Rights Reserved.