com.flat502.rox.demo.validation
Class ValidationSuiteServer
java.lang.Object
com.flat502.rox.demo.validation.ValidationSuiteServer
- All Implemented Interfaces:
- IValidationSuite
public class ValidationSuiteServer
- extends java.lang.Object
- implements IValidationSuite
An implementation of the suite of methods defined by
the XML-RPC validation suite.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationSuiteServer
public ValidationSuiteServer()
arrayOfStructsTest
public int arrayOfStructsTest(MoeLarryAndCurly[] list)
- Specified by:
arrayOfStructsTest
in interface IValidationSuite
countTheEntities
public EntityInfo countTheEntities(java.lang.String str)
- Specified by:
countTheEntities
in interface IValidationSuite
easyStructTest
public int easyStructTest(MoeLarryAndCurly struct)
- Specified by:
easyStructTest
in interface IValidationSuite
echoStructTest
public java.util.Map echoStructTest(java.util.Map struct)
- Specified by:
echoStructTest
in interface IValidationSuite
manyTypesTest
public java.lang.Object[] manyTypesTest(java.lang.Integer n,
java.lang.Boolean b,
java.lang.String s,
java.lang.Double d,
java.util.Date dt,
byte[] b64)
- Specified by:
manyTypesTest
in interface IValidationSuite
moderateSizeArrayCheck
public java.lang.String moderateSizeArrayCheck(java.lang.String[] list)
- Specified by:
moderateSizeArrayCheck
in interface IValidationSuite
nestedStructTest
public int nestedStructTest(java.util.Map calendar)
- Specified by:
nestedStructTest
in interface IValidationSuite
simpleStructReturnTest
public MultipliedStruct simpleStructReturnTest(int n)
- Specified by:
simpleStructReturnTest
in interface IValidationSuite
main
public static void main(java.lang.String[] args)
- Start an instance of this demo server.
- Parameters:
args
- A list of parameters indicating
the host/address
and
port
to bind to. These default to
localhost
and 8080
if
not specified.