public abstract class Evaluator extends Object implements Domable
Modifier and Type | Field and Description |
---|---|
static String |
BASE_CLASS |
static String |
BASE_CLASS_TAG |
static String |
ELEMENT_NAME |
static byte |
FLAG_DEFAULT_ERROR |
static byte |
FLAG_OK |
protected boolean |
initiated |
Constructor and Description |
---|
Evaluator(JClicProject project)
Creates new Evaluator
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
checkText(String text,
String match) |
boolean |
checkText(String text,
String[] match) |
byte[] |
evalText(String text,
String match) |
abstract byte[] |
evalText(String text,
String[] match) |
static Evaluator |
getEvaluator(Element e,
JClicProject project) |
Element |
getJDomElement() |
protected void |
init() |
static boolean |
isOk(byte[] flags) |
void |
setProperties(Element e,
Object aux) |
public static final byte FLAG_OK
public static final byte FLAG_DEFAULT_ERROR
protected boolean initiated
public static final String ELEMENT_NAME
public static final String BASE_CLASS
public static final String BASE_CLASS_TAG
public Evaluator(JClicProject project)
public Element getJDomElement()
getJDomElement
in interface Domable
public static Evaluator getEvaluator(Element e, JClicProject project) throws Exception
Exception
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
Exception
protected void init()
public static boolean isOk(byte[] flags)
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.