com.dyuproject.web.rest.dispatcher
Class LocalizedVelocityContext

java.lang.Object
  extended by com.dyuproject.web.rest.dispatcher.LocalizedVelocityContext
All Implemented Interfaces:
org.apache.velocity.context.Context

public class LocalizedVelocityContext
extends Object
implements org.apache.velocity.context.Context

Author:
David Yu

Method Summary
 boolean containsKey(Object key)
           
 Object get(String key)
           
static LocalizedVelocityContext getContext(HttpServletRequest request)
           
 Object[] getKeys()
           
 Object put(String key, Object value)
           
 Object remove(Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContext

public static LocalizedVelocityContext getContext(HttpServletRequest request)

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface org.apache.velocity.context.Context

get

public Object get(String key)
Specified by:
get in interface org.apache.velocity.context.Context

getKeys

public Object[] getKeys()
Specified by:
getKeys in interface org.apache.velocity.context.Context

put

public Object put(String key,
                  Object value)
Specified by:
put in interface org.apache.velocity.context.Context

remove

public Object remove(Object key)
Specified by:
remove in interface org.apache.velocity.context.Context


Copyright © 2013. All Rights Reserved.