java.lang.Object
org.alicebot.server.core.parser.GenericReader
org.alicebot.server.core.parser.AIMLReader
- public class AIMLReader
- extends GenericReader
| Fields inherited from class org.alicebot.server.core.parser.GenericReader |
ASTERISK, buffer, bufferStartCapacity, bufferString, buffReader, byteCount, COLON, COMMENT_MARK, done, EMPTY_STRING, encoding, fileName, LINE_SEPARATOR, lineNumber, listener, MARKER_END, MARKER_START, QUOTE_MARK, readerInstance, searching, searchStart, SLASH, SPACE, state, tagLength, tagStart, TRANSITION_MADE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_OPEN
private static final java.lang.String PROPERTY_OPEN
- See Also:
- Constant Field Values
TEMPLATE_START
private static final java.lang.String TEMPLATE_START
- See Also:
- Constant Field Values
TEMPLATE_END
private static final java.lang.String TEMPLATE_END
- See Also:
- Constant Field Values
PATTERN_START
private static final java.lang.String PATTERN_START
- See Also:
- Constant Field Values
PATTERN_END
private static final java.lang.String PATTERN_END
- See Also:
- Constant Field Values
CATEGORY_START
private static final java.lang.String CATEGORY_START
- See Also:
- Constant Field Values
CATEGORY_END
private static final java.lang.String CATEGORY_END
- See Also:
- Constant Field Values
THAT_START
private static final java.lang.String THAT_START
- See Also:
- Constant Field Values
THAT_END
private static final java.lang.String THAT_END
- See Also:
- Constant Field Values
TOPIC_START
private static final java.lang.String TOPIC_START
- See Also:
- Constant Field Values
TOPIC_END
private static final java.lang.String TOPIC_END
- See Also:
- Constant Field Values
AIML_START
private static final java.lang.String AIML_START
- See Also:
- Constant Field Values
AIML_VERSION_START
private static final java.lang.String AIML_VERSION_START
- See Also:
- Constant Field Values
AIML_END
private static final java.lang.String AIML_END
- See Also:
- Constant Field Values
STARTUP_START
private static final java.lang.String STARTUP_START
- See Also:
- Constant Field Values
STARTUP_END
private static final java.lang.String STARTUP_END
- See Also:
- Constant Field Values
LOCALHOST
private static final java.lang.String LOCALHOST
- See Also:
- Constant Field Values
NAME
private static final java.lang.String NAME
- See Also:
- Constant Field Values
PATTERN
private static final java.lang.String PATTERN
- See Also:
- Constant Field Values
THAT
private static final java.lang.String THAT
- See Also:
- Constant Field Values
TOPIC
private static final java.lang.String TOPIC
- See Also:
- Constant Field Values
TEMPLATE
private static final java.lang.String TEMPLATE
- See Also:
- Constant Field Values
UNEXPECTED_OUTSIDE_TEMPLATE
private static final java.lang.String[] UNEXPECTED_OUTSIDE_TEMPLATE
UNEXPECTED_GENERAL
private static final java.lang.String[] UNEXPECTED_GENERAL
STARTUP_AND_ERROR
private static final java.lang.String[] STARTUP_AND_ERROR
S_NONE
private final int S_NONE
- See Also:
- Constant Field Values
S_IN_AIML
private final int S_IN_AIML
- See Also:
- Constant Field Values
S_IN_TOPIC
private final int S_IN_TOPIC
- See Also:
- Constant Field Values
S_IN_CATEGORY
private final int S_IN_CATEGORY
- See Also:
- Constant Field Values
S_IN_PATTERN
private final int S_IN_PATTERN
- See Also:
- Constant Field Values
S_OUT_PATTERN
private final int S_OUT_PATTERN
- See Also:
- Constant Field Values
S_IN_THAT
private final int S_IN_THAT
- See Also:
- Constant Field Values
S_OUT_THAT
private final int S_OUT_THAT
- See Also:
- Constant Field Values
S_IN_TEMPLATE
private final int S_IN_TEMPLATE
- See Also:
- Constant Field Values
S_OUT_TEMPLATE
private final int S_OUT_TEMPLATE
- See Also:
- Constant Field Values
S_OUT_CATEGORY
private final int S_OUT_CATEGORY
- See Also:
- Constant Field Values
S_OUT_TOPIC
private final int S_OUT_TOPIC
- See Also:
- Constant Field Values
S_OUT_AIML
private final int S_OUT_AIML
- See Also:
- Constant Field Values
S_IN_STARTUP
private final int S_IN_STARTUP
- See Also:
- Constant Field Values
S_OUT_STARTUP
private final int S_OUT_STARTUP
- See Also:
- Constant Field Values
DELIVER_CATEGORY
private final int DELIVER_CATEGORY
- See Also:
- Constant Field Values
SET_DONE
private final int SET_DONE
- See Also:
- Constant Field Values
ABORT
private final int ABORT
- See Also:
- Constant Field Values
UNSET_TOPIC
private final int UNSET_TOPIC
- See Also:
- Constant Field Values
PROCESS_STARTUP
private final int PROCESS_STARTUP
- See Also:
- Constant Field Values
warnNonAIML
private boolean warnNonAIML
categoryCount
private int categoryCount
pattern
protected java.lang.String pattern
patternField
protected java.lang.reflect.Field patternField
that
protected java.lang.String that
thatField
protected java.lang.reflect.Field thatField
topic
protected java.lang.String topic
topicField
protected java.lang.reflect.Field topicField
template
protected java.lang.String template
templateField
protected java.lang.reflect.Field templateField
AIMLReader
public AIMLReader(java.lang.String s,
java.io.BufferedReader bufferedreader,
AIMLReaderListener aimlreaderlistener,
boolean flag)
initialize
protected void initialize()
- Specified by:
initialize in class GenericReader
tryStates
protected void tryStates()
throws GenericReader.TransitionMade
- Specified by:
tryStates in class GenericReader
transition
private void transition(java.lang.String s,
int i,
int j)
throws GenericReader.TransitionMade
alertUnexpected
private void alertUnexpected()
abortCategory
private void abortCategory(java.lang.String s)