org.alicebot.server.core.parser
Interface AIMLReaderListener

All Superinterfaces:
GenericReaderListener
All Known Implementing Classes:
AIMLLoader

public interface AIMLReaderListener
extends GenericReaderListener

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

Author:
Kris Drent

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