|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectredstone.xmlrpc.handlers.ReflectiveInvocationHandler
redstone.xmlrpc.handlers.ValidationHandler
public class ValidationHandler
Handler for the XML-RPC validation suite. This suite is used to verify the implementation using the verification service at http://www.xmlrpc.com.
Constructor Summary | |
---|---|
ValidationHandler()
|
Method Summary | |
---|---|
int |
arrayOfStructsTest(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 |
Map |
countTheEntities(String str)
This handler takes a single parameter, a string, that contains any number of predefined entities, namely <, >, &, ' and ". |
int |
easyStructTest(Map struct)
This handler takes a single parameter, a struct, containing at least three elements named moe, larry and curly, all |
Map |
echoStructTest(Map struct)
This handler takes a single parameter, a struct. |
List |
manyTypesTest(int number,
boolean bool,
String string,
double dbl,
Date dateTime,
byte[] bytes)
This handler takes six parameters, and returns an array containing all the parameters. |
String |
moderateSizeArrayCheck(List strings)
This handler takes a single parameter, which is an array containing between 100 and 200 elements. |
int |
nestedStructTest(Map struct)
This handler takes a single parameter, a struct, that models a daily calendar. |
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. |
Methods inherited from class redstone.xmlrpc.handlers.ReflectiveInvocationHandler |
---|
invoke, setEntryPoints |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationHandler()
Method Detail |
---|
public int arrayOfStructsTest(List structs)
public Map countTheEntities(String str)
public int easyStructTest(Map struct)
public Map echoStructTest(Map struct)
public List manyTypesTest(int number, boolean bool, String string, double dbl, Date dateTime, byte[] bytes)
public String moderateSizeArrayCheck(List strings)
public int nestedStructTest(Map struct)
public Map simpleStructReturnTest(int number)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |