org.apache.velocity.test.misc
Class TestContext
java.lang.Object
org.apache.velocity.test.misc.TestContext
- All Implemented Interfaces:
- Context
public class TestContext
- extends Object
- implements Context
Used for testing EvaluateContext. For testing purposes, this is a case insensitive
context.
- Version:
- $Id: TestContext.java 522413 2007-03-26 04:34:15Z wglass $
- Author:
- Will Glass-Husain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestContext
public TestContext()
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Context
get
public Object get(String key)
- Specified by:
get
in interface Context
getKeys
public Object[] getKeys()
- Specified by:
getKeys
in interface Context
put
public Object put(String key,
Object value)
- Specified by:
put
in interface Context
remove
public Object remove(Object key)
- Specified by:
remove
in interface Context
Copyright © 2000-2008 The Apache Software Foundation. All Rights Reserved.