org.apache.ode.bpel.runtime.explang.konst
Class KonstExpressionLanguageRuntimeImpl
java.lang.Object
org.apache.ode.bpel.runtime.explang.konst.KonstExpressionLanguageRuntimeImpl
- All Implemented Interfaces:
- ExpressionLanguageRuntime
public class KonstExpressionLanguageRuntimeImpl
- extends java.lang.Object
- implements ExpressionLanguageRuntime
An implementation of the ExpressionLanguageRuntime
interface
for constant expressions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KonstExpressionLanguageRuntimeImpl
public KonstExpressionLanguageRuntimeImpl()
initialize
public void initialize(java.util.Map properties)
throws ConfigurationException
- Description copied from interface:
ExpressionLanguageRuntime
- Initialize the expression evaluation runtime.
- Specified by:
initialize
in interface ExpressionLanguageRuntime
- Parameters:
properties
- configuration properties
- Throws:
ConfigurationException
evaluateAsString
public java.lang.String evaluateAsString(OExpression cexp,
EvaluationContext ctx)
throws FaultException,
EvaluationException
- Specified by:
evaluateAsString
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException
evaluateAsBoolean
public boolean evaluateAsBoolean(OExpression cexp,
EvaluationContext ctx)
throws FaultException,
EvaluationException
- Specified by:
evaluateAsBoolean
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException
evaluateAsNumber
public java.lang.Number evaluateAsNumber(OExpression cexp,
EvaluationContext ctx)
throws FaultException,
EvaluationException
- Specified by:
evaluateAsNumber
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException
evaluate
public java.util.List evaluate(OExpression cexp,
EvaluationContext ctx)
throws FaultException,
EvaluationException
- Specified by:
evaluate
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException
evaluateNode
public org.w3c.dom.Node evaluateNode(OExpression cexp,
EvaluationContext context)
throws FaultException,
EvaluationException
- Specified by:
evaluateNode
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException
evaluateAsDate
public java.util.Calendar evaluateAsDate(OExpression cexp,
EvaluationContext context)
throws FaultException,
EvaluationException
- Specified by:
evaluateAsDate
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException
evaluateAsDuration
public Duration evaluateAsDuration(OExpression cexp,
EvaluationContext context)
throws FaultException,
EvaluationException
- Specified by:
evaluateAsDuration
in interface ExpressionLanguageRuntime
- Throws:
FaultException
EvaluationException