nesstar.api
Class Parameters

java.lang.Object
  extended by nesstar.api.Parameters

public class Parameters
extends Object

A set of method parameters.

Created:
26 April 2002

Constructor Summary
Parameters()
          Constructor for the Parameters object
 
Method Summary
 Object get(NSParameter parameter)
          Method
 Object get(String parameterName)
          Method
 Set keySet()
           
 URL parseMethodQuery(String query)
           
 void put(String parameterName, Object value)
          Method
static org.apache.commons.httpclient.NameValuePair[] query2nv(String query)
           
 int size()
           
 Object[] toArray()
          Method
 String toString()
          Method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameters

public Parameters()
Constructor for the Parameters object

Method Detail

get

public Object get(NSParameter parameter)
Method

Parameters:
parameter -
Returns:

get

public Object get(String parameterName)
Method

Parameters:
parameterName -
Returns:

parseMethodQuery

public URL parseMethodQuery(String query)
                     throws Exception
Parameters:
query -
Returns:
the methodID
Throws:
Exception

query2nv

public static final org.apache.commons.httpclient.NameValuePair[] query2nv(String query)
                                                                    throws Exception
Throws:
Exception

put

public void put(String parameterName,
                Object value)
Method

Parameters:
parameterName -
value -

toArray

public Object[] toArray()
Method

Returns:

toString

public String toString()
Method

Overrides:
toString in class Object
Returns:

size

public int size()
Returns:
the number of parameters

keySet

public Set keySet()

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved