|
|||||||||||
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(java.lang.String argument)
Constructor taking argument for option. |
Method Summary | |
void |
addArgument(java.lang.String argument)
Mutator of Argument property. |
java.lang.String |
getArgument()
Retrieve argument to option if it takes arguments. |
java.lang.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. |
java.lang.String |
toString()
Convert to String. |
Methods inherited from class java.lang.Object |
equals, 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(java.lang.String argument)
argument
- the argumentMethod Detail |
public final java.lang.String getArgument()
public final java.lang.String getArgument(int index)
index
- The argument index, from 0 to
getArgumentCount()
-1.
public final int getId()
public final void addArgument(java.lang.String argument)
argument
- the argumentpublic final int getArgumentCount()
public final java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |