public class XQuery10ExpressionRuntime extends java.lang.Object implements ExpressionLanguageRuntime
Constructor and Description |
---|
XQuery10ExpressionRuntime()
Creates a new XQuery10ExpressionRuntime object.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
evaluate(OExpression cexp,
EvaluationContext ctx) |
boolean |
evaluateAsBoolean(OExpression cexp,
EvaluationContext ctx) |
java.util.Calendar |
evaluateAsDate(OExpression cexp,
EvaluationContext context)
Evaluate expression and return a date
|
Duration |
evaluateAsDuration(OExpression cexp,
EvaluationContext context)
Evaluate expression and return duration
|
java.lang.Number |
evaluateAsNumber(OExpression cexp,
EvaluationContext ctx)
Evaluate expression and return a number
|
java.lang.String |
evaluateAsString(OExpression cexp,
EvaluationContext ctx) |
org.w3c.dom.Node |
evaluateNode(OExpression cexp,
EvaluationContext ctx)
Evaluate expression and return a node
|
void |
initialize(java.util.Map properties)
Initialize XSL Transformer
|
public XQuery10ExpressionRuntime()
public void initialize(java.util.Map properties) throws ConfigurationException
initialize
in interface ExpressionLanguageRuntime
properties
- propertiesConfigurationException
- ConfigurationExceptionpublic java.lang.String evaluateAsString(OExpression cexp, EvaluationContext ctx) throws FaultException, EvaluationException
public boolean evaluateAsBoolean(OExpression cexp, EvaluationContext ctx) throws FaultException, EvaluationException
public java.lang.Number evaluateAsNumber(OExpression cexp, EvaluationContext ctx) throws FaultException, EvaluationException
evaluateAsNumber
in interface ExpressionLanguageRuntime
cexp
- cexpctx
- ctxFaultException
- FaultExceptionEvaluationException
- EvaluationExceptionpublic java.util.List evaluate(OExpression cexp, EvaluationContext ctx) throws FaultException, EvaluationException
evaluate
in interface ExpressionLanguageRuntime
FaultException
EvaluationException
ExpressionLanguageRuntime.evaluate(org.apache.ode.bpel.o.OExpression,
org.apache.ode.bpel.explang.EvaluationContext)
public org.w3c.dom.Node evaluateNode(OExpression cexp, EvaluationContext ctx) throws FaultException, EvaluationException
evaluateNode
in interface ExpressionLanguageRuntime
cexp
- cexpctx
- ctxFaultException
- FaultExceptionEvaluationException
- EvaluationExceptionpublic java.util.Calendar evaluateAsDate(OExpression cexp, EvaluationContext context) throws FaultException, EvaluationException
evaluateAsDate
in interface ExpressionLanguageRuntime
cexp
- cexpcontext
- contextFaultException
- FaultExceptionEvaluationException
- EvaluationExceptionpublic Duration evaluateAsDuration(OExpression cexp, EvaluationContext context) throws FaultException, EvaluationException
evaluateAsDuration
in interface ExpressionLanguageRuntime
cexp
- cexpcontext
- contextFaultException
- FaultExceptionEvaluationException
- EvaluationException