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 java.lang.Object
implements VelocityContextItemProvider

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


Method Summary
 java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.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-2011 Atlassian. All Rights Reserved.