org.semanticweb.HermiT.debugger.commands
Class ShowModelCommand

java.lang.Object
  extended by org.semanticweb.HermiT.debugger.commands.AbstractCommand
      extended by org.semanticweb.HermiT.debugger.commands.ShowModelCommand
All Implemented Interfaces:
ICommand

public class ShowModelCommand
extends AbstractCommand
implements ICommand


Field Summary
 
Fields inherited from class org.semanticweb.HermiT.debugger.commands.AbstractCommand
args, debugger
 
Constructor Summary
ShowModelCommand()
           
 
Method Summary
 void execute()
          If no predicate is given in args, prints the whole model, otherwise prints all assertions containing the given predicate.
 java.lang.String getHelpText()
           
protected  void loadFacts(java.util.Set<java.lang.Object[]> facts, ExtensionTable.Retrieval retrieval)
           
protected  void printFact(java.lang.Object[] fact, java.io.PrintWriter writer)
           
 
Methods inherited from class org.semanticweb.HermiT.debugger.commands.AbstractCommand
formatBlockingStatus, getArgs, getDebugger, selectConsoleWindow, setArgs, setDebugger, showTextInWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.HermiT.debugger.commands.ICommand
setArgs, setDebugger
 

Constructor Detail

ShowModelCommand

public ShowModelCommand()
Method Detail

execute

public void execute()
If no predicate is given in args, prints the whole model, otherwise prints all assertions containing the given predicate.

Specified by:
execute in interface ICommand
Specified by:
execute in class AbstractCommand

loadFacts

protected void loadFacts(java.util.Set<java.lang.Object[]> facts,
                         ExtensionTable.Retrieval retrieval)

printFact

protected void printFact(java.lang.Object[] fact,
                         java.io.PrintWriter writer)

getHelpText

public java.lang.String getHelpText()
Specified by:
getHelpText in interface ICommand
Specified by:
getHelpText in class AbstractCommand