Object
A factory class to create instances of the various implementation classes in the expression package.
Object
ExpressionFactory
Constructor Summary |
Method Summary |
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExpressionFactory()
Method Detail |
public staticCreates a statefulEvaluator
createEvaluator(Map
environment)
Evaluator
using the supplied environment.
Evaluator
. Evaluator
that can evaluate an expression. Related Topics
public staticCreates anEvaluator
createEvaluator(Map
environment,UnificationList
unificationList)
Evaluator
object using the supplied environment and
a UnificationList
. If the supplied UnificationList
is null
then a stateful Evaluator
is returned, otherwise a stateless
Evaluator
is created by associating the supplied UnificationList
.
Evaluator
. Evaluator
that can evaluate an expression. Related Topics
public staticCreates anExecutor
createExecutor(Map
environment)
Executor
if it is not cached, otherwise returns the cached
Executor
.
Executor
. Executor
that can execute an expression. Related Topics
public staticCreates anExpression
createExpression(Map
environment,Reader
reader)
throwsExpressionException
Expression
using the supplied environment, reading and parsing
the characters from the supplied reader.
Expression
. Expression
. ExpressionException
Related Topics
public staticCreates anExpression
createExpression(Map
environment,String
xmlString)
throwsExpressionException
Expression
using the supplied environment and parsing the
supplied string.
Expression
. Expression
. ExpressionException
Related Topics
public staticCreates anOptimizer
createOptimizer(Map
environment,ObjectFilter
objectFilter)
Optimizer
using the supplied environment and an
ObjectFilter
.
Optimizer
. ObjectFilter
that is used during optimization. Optimizer
that can optimize an expression. Related Topics
public staticCreates aUnificationList
createUnificationList(Map
environment)
UnificationList
using the supplied environment.
Map
containing the environment
information that is used to create a UnificationList
. UnificationList
. Related Topics
public staticCreates aUnifier
createUnifier(Map
environment,UnificationList
unificationList)
Unifier
using the supplied
environment and the UnificationList
.
Map
containing
environment information that is used to create a
Unifier
. UnificationList
that
is used to bind variables to their values. Unifier
that can unify an expression. Related Topics
public staticCreates a statefulValidator
createValidator(Map
environment)
Evaluator
object using the supplied environment.
Evaluator
. Validator
that can validate an expression. Related Topics
public staticCreates aValidator
createValidator(Map
environment,Evaluator
evaluator)
Validator
object using the supplied environment and
an Evaluator
. If the supplied Evaluator
is null
then a stateful Validator
is returned otherwise a stateless
Validator
is created by associating the given Evaluator
.
Validator
. Evaluator
to evaluate an expression during validation. Validator
that can validate an expression. Related Topics