|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.utils.CLOption
Basic class describing an instance of option.
Field Summary | |
static int |
TEXT_ARGUMENT
Value of getId() 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TEXT_ARGUMENT
getId()
when the option is a text argument.
Constructor Detail |
public CLOption(int id)
id
- the new idpublic CLOption(String argument)
argument
- the argumentMethod Detail |
public final String getArgument()
public final String getArgument(int index)
index
- The argument index, from 0 to
getArgumentCount()
-1.
public final int getId()
public final void addArgument(String argument)
argument
- the argumentpublic final int getArgumentCount()
public final String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |