SimpleTopLevelQuery.java
Go to the documentation of this file.
00001 package edu.tum.cs.ias.knowrob.mod_dialog.queries;
00002 
00003 import edu.tum.cs.ias.knowrob.mod_dialog.DialogModule;
00004 
00005 public abstract class SimpleTopLevelQuery extends DialogQuery {
00006 
00007         public SimpleTopLevelQuery(DialogModule mod) {
00008                 super(mod);
00009         }
00010         
00011         @Override
00012         public String process(String q) {
00013                 if(haveTopLevelState()) {
00014                         return match(q);        
00015                 }               
00016                 return null;
00017         }
00018         
00019         public abstract String match(String q);
00020 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


mod_dialog
Author(s): Moritz Tenorth
autogenerated on Tue Apr 16 2013 00:38:37