Class ArgSet

java.lang.Object
com.netscape.certsrv.template.ArgSet
All Implemented Interfaces:
IArgValue

public class ArgSet extends Object implements IArgValue
This class represents a set of arguments. Unlike ArgList, this set of arguments is not ordered.

Each argument in the set is tagged with a name (key).

Version:
$Revision$, $Date$
  • Constructor Details

    • ArgSet

      public ArgSet()
  • Method Details

    • getNames

      public Enumeration<String> getNames()
      Returns a list of argument names.
      Returns:
      list of argument names
    • set

      public void set(String name, String arg)
      Sets string argument into the set with the given name.
      Parameters:
      name - argument name
      arg - argument in string
    • set

      public void set(String name, IArgValue arg)
      Sets argument into the set with the given name.
      Parameters:
      name - argument name
      arg - argument value
    • get

      public IArgValue get(String name)
      Retrieves argument from the set.
      Parameters:
      name - argument name
      Returns:
      argument value