|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fmrisc.ProofNavigator.Commands.CommandBase
public abstract class CommandBase
Base class of commands.
Constructor Summary | |
---|---|
CommandBase(java.lang.String name)
construct command with denoted name |
Method Summary | |
---|---|
java.lang.String |
getName()
get name of command |
abstract void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination). |
static Command |
toCommand(org.w3c.dom.Element node)
Construct command from DOM representation. |
org.w3c.dom.Node |
toNode(org.w3c.dom.Document document)
Convert proof command to external representation as a DOM node. |
java.lang.String |
toString()
returns string representation of tree |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fmrisc.ProofNavigator.Commands.Command |
---|
process |
Constructor Detail |
---|
public CommandBase(java.lang.String name)
name
- the name of the commandMethod Detail |
---|
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public abstract void printCore(java.io.PrintWriter out)
out
- the stream on which the text is writtenpublic org.w3c.dom.Node toNode(org.w3c.dom.Document document)
toNode
in interface Command
document
- the document to which the node belongs.
public static Command toCommand(org.w3c.dom.Element node)
node
- the DOM representation of the command.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |