Class 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$, $Date$
    • Constructor Summary

      Constructors 
      Constructor Description
      ArgList()
      Constructs a argument list object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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