Package com.netscape.certsrv.template
Class ArgSet
java.lang.Object
com.netscape.certsrv.template.ArgSet
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves argument from the set.getNames()
Returns a list of argument names.void
Sets argument into the set with the given name.void
Sets string argument into the set with the given name.
-
Constructor Details
-
ArgSet
public ArgSet()
-
-
Method Details
-
getNames
Returns a list of argument names.- Returns:
- list of argument names
-
set
Sets string argument into the set with the given name.- Parameters:
name
- argument namearg
- argument in string
-
set
Sets argument into the set with the given name.- Parameters:
name
- argument namearg
- argument value
-
get
Retrieves argument from the set.- Parameters:
name
- argument name- Returns:
- argument value
-