org.apache.ws.jaxme.js.junit

Class XmlRpcClientTestRemoteClass

public class XmlRpcClientTestRemoteClass extends Object

A test class, does nothing useful.
Method Summary
voidadd(int pValue)
Adds pValue to the sum.
voidadd(int[] pValues)
Adds the given pValues to the sum.
voidadd(String pValue)
Converts the given string into an int and adds it to the sum.
intgetSum()
Returns the sum.
StringgetSumAsString()
Converts the sum into a string and returns it.

Method Detail

add

public void add(int pValue)
Adds pValue to the sum.

add

public void add(int[] pValues)
Adds the given pValues to the sum.

add

public void add(String pValue)
Converts the given string into an int and adds it to the sum.

getSum

public int getSum()
Returns the sum.

getSumAsString

public String getSumAsString()
Converts the sum into a string and returns it.

Throws: IOException Never actually thrown, just to verify whether exceptions in the signature are handled properly.