org.apache.velocity.test.provider
public class TestProvider extends Object
Version: $Id: TestProvider.java,v 1.21.8.1 2004/03/03 23:23:06 geirm Exp $
Field Summary | |
---|---|
Object | ob |
static String | PUB_STAT_STRING |
boolean | state |
int | stateint |
String | title |
Method Summary | |
---|---|
boolean | allEmpty(Object[] list) |
Integer | bang() |
String | chop(String string, int i)
Chop i characters off the end of a string.
|
String | concat(Object[] strings) |
String | concat(List strings) |
String | concat(String a, String b) |
String | get(String key)
Test the ability of vel to use a get(key)
method for any object type, not just one
that implements the Map interface. |
String[] | getArray() |
Child | getChild() |
ArrayList | getCustomers() |
ArrayList | getCustomers2() |
List | getEmptyList() |
String | getFoo() |
Hashtable | getHashtable() |
List | getList() |
Object[] | getMenu() |
String | getName() |
Person | getPerson() |
ArrayList | getRelSearches() |
Hashtable | getSearch() |
Stack | getStack() |
boolean | getStateFalse() |
boolean | getStateTrue() |
String | getThrow() |
String | getTitle() |
Vector | getVector() |
Object | me() |
String | objConcat(List objects) |
String | objectArrayMethod(Object[] o) |
String | parse(String a, Object o, String c, String d) |
String | put(String key, Object o)
Test the ability of vel to use a put(key)
method for any object type, not just one
that implements the Map interface. |
void | setBangStart(Integer i) |
void | setState(Boolean state) |
void | setTitle(String title) |
String | showPerson(Person person) |
boolean | theAPLRules() |
String | toString() |
Parameters: string String to chop. i Number of characters to chop.
Returns: String with processed answer.