org.apache.velocity.test.misc
Class TestContext
java.lang.Object
org.apache.velocity.test.misc.TestContext
- All Implemented Interfaces:
- org.apache.velocity.context.Context
public class TestContext
- extends Object
- implements org.apache.velocity.context.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 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 © 2000-2010 The Apache Software Foundation. All Rights Reserved.