public class Validator extends ReflectiveInvocationHandler
Constructor and Description |
---|
Validator() |
Modifier and Type | Method and Description |
---|---|
int |
arrayOfStructsTest(java.util.List structs)
This handler takes a single parameter, an array of structs, each of which contains at least three elements
named moe, larry and curly, all
|
java.util.Map |
countTheEntities(java.lang.String str)
This handler takes a single parameter, a string, that contains any number of predefined entities, namely <,
>, &, ' and ".
|
int |
easyStructTest(java.util.Map struct)
This handler takes a single parameter, a struct, containing at least three elements named moe, larry and
curly, all
|
java.util.Map |
echoStructTest(java.util.Map struct)
This handler takes a single parameter, a struct.
|
java.util.List |
manyTypesTest(int number,
boolean bool,
java.lang.String string,
double dbl,
java.util.Date dateTime,
byte[] bytes)
This handler takes six parameters, and returns an array containing all the parameters.
|
java.lang.String |
moderateSizeArrayCheck(java.util.List strings)
This handler takes a single parameter, which is an array containing between 100 and 200 elements.
|
int |
nestedStructTest(java.util.Map struct)
This handler takes a single parameter, a struct, that models a daily calendar.
|
java.util.Map |
simpleStructReturnTest(int number)
This handler takes one parameter, and returns a struct containing three elements, times10, times100 and
times1000, the result of multiplying the number by 10, 100 and 1000.
|
invoke, setEntryPoints
public int arrayOfStructsTest(java.util.List structs)
public java.util.Map countTheEntities(java.lang.String str)
public int easyStructTest(java.util.Map struct)
public java.util.Map echoStructTest(java.util.Map struct)
public java.util.List manyTypesTest(int number, boolean bool, java.lang.String string, double dbl, java.util.Date dateTime, byte[] bytes)
public java.lang.String moderateSizeArrayCheck(java.util.List strings)
public int nestedStructTest(java.util.Map struct)
public java.util.Map simpleStructReturnTest(int number)