com.atlassian.confluence.setup.sitemesh
Class SitemeshContextItemProvider

java.lang.Object
  extended by com.atlassian.confluence.setup.sitemesh.SitemeshContextItemProvider
All Implemented Interfaces:
VelocityContextItemProvider

public final class SitemeshContextItemProvider
extends Object
implements VelocityContextItemProvider

Provides context items needed by Confluence during decoration with Velocity templates.


Method Summary
 Map<String,Object> getContextMap()
           
static VelocityContextItemProvider getProvider(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProvider

public static VelocityContextItemProvider getProvider(javax.servlet.http.HttpServletRequest request)

getContextMap

public Map<String,Object> getContextMap()
Specified by:
getContextMap in interface VelocityContextItemProvider
Returns:
A map of values to be used within a Velocity Context. Must not be null


Copyright © 2003-2012 Atlassian. All Rights Reserved.