com.netscape.certsrv.template
Class ArgList

java.lang.Object
  extended by com.netscape.certsrv.template.ArgList
All Implemented Interfaces:
IArgValue

public class ArgList
extends java.lang.Object
implements IArgValue

This class represents a list of arguments that will be returned to the end-user via the template framework.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
ArgList()
          Constructs a argument list object.
 
Method Summary
 void add(IArgValue arg)
          Adds an argument to the list.
 IArgValue get(int pos)
          Returns the argument at the given position Position starts from 0.
 int size()
          Returns the number of arguments in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgList

public ArgList()
Constructs a argument list object.

Method Detail

add

public void add(IArgValue arg)
Adds an argument to the list.

Parameters:
arg - argument to be added

size

public int size()
Returns the number of arguments in the list.

Returns:
size of the list

get

public IArgValue get(int pos)
Returns the argument at the given position Position starts from 0.

Parameters:
pos - position
Returns:
argument