|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aitools.programd.test.aiml.Checker
public abstract class Checker
Performs a specific test on a given input.
| Field Summary | |
|---|---|
static String |
TAG_ALERT_KEYWORDS
The string "". |
static String |
TAG_EXPECTED_ANSWER
The string "". |
static String |
TAG_EXPECTED_KEYWORDS
The string "". |
static String |
TAG_EXPECTED_LENGTH
The string "". |
static String |
TAG_EXPECTED_MATCH
The string "". |
| Constructor Summary | |
|---|---|
protected |
Checker()
A protected constructor, for use in persistence. |
| Method Summary | |
|---|---|
static Checker |
create(Element element,
String encoding)
Creates a new Checker of the correct type based on the contents of the given XML element. |
abstract String |
getContent()
|
abstract String |
getTagName()
|
abstract boolean |
test(String input)
Determines whether the given input passes the Checker's test. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String TAG_EXPECTED_ANSWER
public static String TAG_EXPECTED_KEYWORDS
public static String TAG_EXPECTED_LENGTH
public static String TAG_EXPECTED_MATCH
public static String TAG_ALERT_KEYWORDS
| Constructor Detail |
|---|
protected Checker()
| Method Detail |
|---|
public abstract boolean test(String input)
input - the input to test
public static Checker create(Element element,
String encoding)
element - the element from which to create the Inputencoding - the encoding of the document from which this element comes
public abstract String getContent()
public abstract String getTagName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||