org.aitools.programd.parser
Interface AIMLReaderListener


public interface AIMLReaderListener

AIMLReaderListener is the interface specification for listeners that can add AIML to the Graphmaster.

Author:
Kris Drent, Noel Bush

Method Summary
 void newCategory(java.lang.String pattern, java.lang.String that, java.lang.String topic, java.lang.String template)
          Adds a new category to the Graphmaster .
 

Method Detail

newCategory

void newCategory(java.lang.String pattern,
                 java.lang.String that,
                 java.lang.String topic,
                 java.lang.String template)
Adds a new category to the Graphmaster . Usually called by an AIML parser such as TemplateParser .

Parameters:
pattern - the pattern portion of a Graphmaster path
that - the that portion of a Graphmaster path
topic - the topic portion of a Graphmaster path
template - the template portion of a Graphmaster path