org.apache.ode.bpel.rtrep.v2
Class ExpressionLanguageRuntimeRegistry
java.lang.Object
org.apache.ode.bpel.rtrep.v2.ExpressionLanguageRuntimeRegistry
public class ExpressionLanguageRuntimeRegistry
- extends java.lang.Object
A registry of ExpressionLanguageRuntime
objects that is able to map a given expression to the appropriate
language runtime. We also do some exception guarding here so that the core of the engine does not have to deal
with random exceptions from not-quite perfect expression runtime imlementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionLanguageRuntimeRegistry
public ExpressionLanguageRuntimeRegistry()
registerRuntime
public void registerRuntime(OExpressionLanguage oelang)
throws ConfigurationException
- Throws:
ConfigurationException
evaluateAsString
public java.lang.String evaluateAsString(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException
evaluateAsBoolean
public boolean evaluateAsBoolean(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException
evaluateAsNumber
public java.lang.Number evaluateAsNumber(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException
evaluate
public java.util.List evaluate(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException
evaluateNode
public org.w3c.dom.Node evaluateNode(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException
evaluateAsDate
public java.util.Calendar evaluateAsDate(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException
evaluateAsDuration
public Duration evaluateAsDuration(OExpression cexp,
EvaluationContext ctx)
throws FaultException
- Throws:
FaultException