fmrisc.ProofNavigator.Commands
Class Proved
java.lang.Object
fmrisc.ProofNavigator.Commands.CommandBase
fmrisc.ProofNavigator.Commands.ProofCommandBase
fmrisc.ProofNavigator.Commands.Proved
- All Implemented Interfaces:
- Command, ProofCommand
public final class Proved
- extends ProofCommandBase
Field Summary |
static java.lang.String |
Name
|
Constructor Summary |
Proved(java.lang.String reason)
create a "proved" command. |
Method Summary |
java.lang.String |
getReason()
get reason why state has been proved |
static Command |
newCommand(org.w3c.dom.Node node)
Convert DOM node to command. |
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fmrisc.ProofNavigator.Commands.Command |
toNode |
Name
public static final java.lang.String Name
- See Also:
- Constant Field Values
Proved
public Proved(java.lang.String reason)
- create a "proved" command.
- Parameters:
reason
- explanation why state is proved
getReason
public java.lang.String getReason()
- get reason why state has been proved
- Returns:
- explanation why state is proved
newCommand
public static Command newCommand(org.w3c.dom.Node node)
- Convert DOM node to command.
- Parameters:
node
- the DOM representation of the command.
- Returns:
- the command (null, if an error occured).
printCore
public void printCore(java.io.PrintWriter out)
- Prints text representation on out (without new line termination).
- Specified by:
printCore
in class CommandBase
- Parameters:
out
- the stream on which the text is written