com.ashridgetech.saxon.debugger
Class CommandInterface.Command
java.lang.Object
|
+--com.ashridgetech.saxon.debugger.CommandInterface.Command
- Direct Known Subclasses:
- BreakCommand, CommentCommand, GoCommand, MoveCommand, NextCommand, PrintCommand, RemoveCommand, RepeatCommand, StepCommand, WhereCommand
- Enclosing class:
- CommandInterface
- public abstract static class CommandInterface.Command
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
abbreviation
protected String abbreviation
text
protected String text
CommandInterface.Command
protected CommandInterface.Command(boolean dummy,
String name,
String abbreviation)
CommandInterface.Command
protected CommandInterface.Command(String name,
String text)
throws CommandException
extractName
public static String extractName(String text)
extractArgs
public static List extractArgs(String text)
getAbbreviation
public String getAbbreviation()
getName
public String getName()
getText
public String getText()
checkArgCount
protected void checkArgCount(List args,
int argLimit)
throws CommandException
parse
protected abstract void parse(List args)
throws CommandException
create
protected CommandInterface.Command create(String text)
throws CommandException
makeNew
protected abstract CommandInterface.Command makeNew(String text)
throws CommandException
execute
public abstract void execute(SimpleDebugger debugger,
CommandInterface commander)
throws CommandException
Copyright © 2002 Ashridge Technologies Ltd. All Rights Reserved.