org.apache.axis.utils
public final class CLOption extends Object
Since: 4.0
Field Summary | |
---|---|
static int | TEXT_ARGUMENT
Value of CLOption when the option is a text argument. |
Constructor Summary | |
---|---|
CLOption(int id)
Constructor taking an id (that must be a proper character code)
| |
CLOption(String argument)
Constructor taking argument for option.
|
Method Summary | |
---|---|
void | addArgument(String argument)
Mutator of Argument property.
|
String | getArgument()
Retrieve argument to option if it takes arguments.
|
String | getArgument(int index)
Retrieve indexed argument to option if it takes arguments.
|
int | getArgumentCount()
Get number of arguments. |
int | getId()
Retrieve id of option.
|
String | toString()
Convert to String.
|
Parameters: id the new id
Parameters: argument the argument
Parameters: argument the argument
Returns: the (first) argument
Parameters: index The argument index, from 0 to getArgumentCount-1.
Returns: the argument
Returns: the id
Returns: the string value