org.apache.ws.jaxme.js.junit

Class XmlRpcClientTestRemoteClass


public class XmlRpcClientTestRemoteClass
extends java.lang.Object

A test class, does nothing useful.

Method Summary

void
add(String pValue)
Converts the given string into an int and adds it to the sum.
void
add(int pValue)
Adds pValue to the sum.
void
add(int[] pValues)
Adds the given pValues to the sum.
int
getSum()
Returns the sum.
String
getSumAsString()
Converts the sum into a string and returns it.

Method Details

add

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

add

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

add

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

getSum

public int getSum()
Returns the sum.

getSumAsString

public String getSumAsString()
            throws IOException,
                   MalformedURLException
Converts the sum into a string and returns it.