|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.virgil.VirgilCommand
public class VirgilCommand
Represents a "command" to StoryListener, an assertion for agumenting a Narrative or a question about the Narrative to be answered.
Constructor Summary | |
---|---|
VirgilCommand(VirgilCommandType pointType)
Constructor with no arguments. |
|
VirgilCommand(VirgilCommandType pointType,
java.lang.Object argument0)
Constructor with one argument. |
|
VirgilCommand(VirgilCommandType pointType,
java.lang.Object argument0,
java.lang.Object argument1)
Constructor with two arguments. |
|
VirgilCommand(VirgilCommandType pointType,
java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2)
Constructor with three arguments. |
|
VirgilCommand(VirgilCommandType pointType,
java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2,
java.lang.Object argument3)
Constructor with four arguments. |
|
VirgilCommand(VirgilCommandType pointType,
java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2,
java.lang.Object argument3,
java.lang.Object argument4)
Constructor with five arguments. |
Method Summary | |
---|---|
java.lang.Object |
getArgument(int position)
Retrieve an argument. |
java.util.Vector |
getArguments()
Retrieve the vector of arguments. |
VirgilCommandType |
getType()
Retrieve the type of command. |
void |
insertArg(int position,
java.lang.Object argument)
Insert a new argument. |
int |
numArgs()
Retrieve the number of arguments. |
java.lang.StringBuffer |
render()
Renders the return type |
VirgilCommandType |
type()
Returns the command type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirgilCommand(VirgilCommandType pointType) throws Scheherexception
Scheherexception
public VirgilCommand(VirgilCommandType pointType, java.lang.Object argument0) throws Scheherexception
Scheherexception
public VirgilCommand(VirgilCommandType pointType, java.lang.Object argument0, java.lang.Object argument1) throws Scheherexception
Scheherexception
public VirgilCommand(VirgilCommandType pointType, java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2) throws Scheherexception
Scheherexception
public VirgilCommand(VirgilCommandType pointType, java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2, java.lang.Object argument3) throws Scheherexception
Scheherexception
public VirgilCommand(VirgilCommandType pointType, java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2, java.lang.Object argument3, java.lang.Object argument4) throws Scheherexception
Scheherexception
Method Detail |
---|
public int numArgs()
public VirgilCommandType getType()
public java.util.Vector getArguments()
public void insertArg(int position, java.lang.Object argument) throws Scheherexception
Scheherexception
public java.lang.Object getArgument(int position) throws Scheherexception
Scheherexception
public VirgilCommandType type()
public java.lang.StringBuffer render() throws Scheherexception
render
in interface RenderableObject
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |