public class BasicEvaluator extends Evaluator
Modifier and Type | Field and Description |
---|---|
static String |
CHECK_ACCENTS |
static String |
CHECK_CASE |
static String |
CHECK_DOUBLE_SPACES |
static String |
CHECK_PUNCTUATION |
protected boolean |
checkAccents |
protected boolean |
checkCase |
protected boolean |
checkDoubleSpaces |
protected boolean |
checkPunctuation |
static String |
PUNCTUATION |
BASE_CLASS, BASE_CLASS_TAG, ELEMENT_NAME, FLAG_DEFAULT_ERROR, FLAG_OK, initiated
Constructor and Description |
---|
BasicEvaluator(JClicProject project)
Creates new BasicEvaluator
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkText(String text,
String match) |
byte[] |
evalText(String text,
String[] match) |
protected String |
getClearedText(String src) |
protected String |
getClearedText(String src,
boolean[] skipped) |
Element |
getJDomElement() |
protected void |
init() |
void |
setProperties(Clic3Activity c3a) |
void |
setProperties(Element e,
Object aux) |
checkText, evalText, getEvaluator, isOk
public static final String CHECK_CASE
public static final String CHECK_ACCENTS
public static final String CHECK_PUNCTUATION
public static final String CHECK_DOUBLE_SPACES
public static final String PUNCTUATION
protected boolean checkCase
protected boolean checkAccents
protected boolean checkPunctuation
protected boolean checkDoubleSpaces
public BasicEvaluator(JClicProject project)
public Element getJDomElement()
getJDomElement
in interface Domable
getJDomElement
in class Evaluator
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
setProperties
in class Evaluator
Exception
public void setProperties(Clic3Activity c3a)
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.