org.apache.ode.bpel.runtime
Class ExpressionLanguageRuntimeRegistry
java.lang.Object
org.apache.ode.bpel.runtime.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.
|
Method Summary |
java.util.List |
evaluate(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
boolean |
evaluateAsBoolean(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
java.util.Calendar |
evaluateAsDate(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
org.apache.ode.utils.xsd.Duration |
evaluateAsDuration(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
java.lang.Number |
evaluateAsNumber(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
java.lang.String |
evaluateAsString(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
org.w3c.dom.Node |
evaluateNode(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
|
void |
registerRuntime(org.apache.ode.bpel.o.OExpressionLanguage oelang)
|
| 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(org.apache.ode.bpel.o.OExpressionLanguage oelang)
throws org.apache.ode.bpel.explang.ConfigurationException
- Throws:
org.apache.ode.bpel.explang.ConfigurationException
evaluateAsString
public java.lang.String evaluateAsString(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
evaluateAsBoolean
public boolean evaluateAsBoolean(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
evaluateAsNumber
public java.lang.Number evaluateAsNumber(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
evaluate
public java.util.List evaluate(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
evaluateNode
public org.w3c.dom.Node evaluateNode(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
evaluateAsDate
public java.util.Calendar evaluateAsDate(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
evaluateAsDuration
public org.apache.ode.utils.xsd.Duration evaluateAsDuration(org.apache.ode.bpel.o.OExpression cexp,
org.apache.ode.bpel.explang.EvaluationContext ctx)
throws org.apache.ode.bpel.common.FaultException,
org.apache.ode.bpel.explang.EvaluationException
- Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException