|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ds.fw.parse.FwCommand
FwCommand provides the internal representation of the command and a parser for any command defined in the grammar.
| Field Summary | |
int |
code
The command name |
java.lang.String |
errorMssg
The command parameters |
java.lang.String |
name
The command text representation |
java.util.Vector |
parms
The command code |
java.lang.String |
textCommand
|
| Method Summary | |
int |
getIntArg(int i)
Returns an INT(eger) argument. |
java.lang.String |
getStringArg(int i)
Returns an STR(ing) argument. |
static com.ds.fw.parse.FwCommand |
parseTextCommand(java.lang.String text)
Parse a text command according the command definition from the Grammar class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String textCommand
public java.lang.String name
public int code
public java.util.Vector parms
public java.lang.String errorMssg
| Method Detail |
public static com.ds.fw.parse.FwCommand parseTextCommand(java.lang.String text)
public int getIntArg(int i)
public java.lang.String getStringArg(int i)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||