Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`ExpressionLanguageRuntimeRegistry()`

Method Summary
`java.util.List` | `evaluate(OExpression cexp, EvaluationContext ctx)`
`boolean` | `evaluateAsBoolean(OExpression cexp, EvaluationContext ctx)`
`java.util.Calendar` | `evaluateAsDate(OExpression cexp, EvaluationContext ctx)`
`Duration` | `evaluateAsDuration(OExpression cexp, EvaluationContext ctx)`
`java.lang.Number` | `evaluateAsNumber(OExpression cexp, EvaluationContext ctx)`
`java.lang.String` | `evaluateAsString(OExpression cexp, EvaluationContext ctx)`
`org.w3c.dom.Node` | `evaluateNode(OExpression cexp, EvaluationContext ctx)`
`void` | `registerRuntime(OExpressionLanguage oelang)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ExpressionLanguageRuntimeRegistry

    public ExpressionLanguageRuntimeRegistry()

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD