org.apache.ode.bpel.elang.xpath20.runtime
Class XPath20ExpressionRuntime

java.lang.Object
  extended by org.apache.ode.bpel.elang.xpath20.runtime.XPath20ExpressionRuntime
All Implemented Interfaces:
org.apache.ode.bpel.explang.ExpressionLanguageRuntime

public class XPath20ExpressionRuntime
extends java.lang.Object
implements org.apache.ode.bpel.explang.ExpressionLanguageRuntime

XPath 2.0 Expression Language run-time subsytem. Saxon implementation.


Constructor Summary
XPath20ExpressionRuntime()
           
 
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 context)
           
 org.apache.ode.utils.xsd.Duration evaluateAsDuration(org.apache.ode.bpel.o.OExpression cexp, org.apache.ode.bpel.explang.EvaluationContext context)
           
 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 initialize(java.util.Map properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPath20ExpressionRuntime

public XPath20ExpressionRuntime()
Method Detail

initialize

public void initialize(java.util.Map properties)
                throws org.apache.ode.bpel.explang.ConfigurationException
Specified by:
initialize in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
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
Specified by:
evaluateAsString in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
See Also:
ExpressionLanguageRuntime.evaluateAsString(org.apache.ode.bpel.o.OExpression, org.apache.ode.bpel.explang.EvaluationContext)

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
Specified by:
evaluateAsBoolean in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
See Also:
ExpressionLanguageRuntime.evaluateAsBoolean(org.apache.ode.bpel.o.OExpression, org.apache.ode.bpel.explang.EvaluationContext)

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
Specified by:
evaluateAsNumber in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
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
Specified by:
evaluate in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException
See Also:
ExpressionLanguageRuntime.evaluate(org.apache.ode.bpel.o.OExpression, org.apache.ode.bpel.explang.EvaluationContext)

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
Specified by:
evaluateNode in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
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 context)
                                  throws org.apache.ode.bpel.common.FaultException,
                                         org.apache.ode.bpel.explang.EvaluationException
Specified by:
evaluateAsDate in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
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 context)
                                                     throws org.apache.ode.bpel.common.FaultException,
                                                            org.apache.ode.bpel.explang.EvaluationException
Specified by:
evaluateAsDuration in interface org.apache.ode.bpel.explang.ExpressionLanguageRuntime
Throws:
org.apache.ode.bpel.common.FaultException
org.apache.ode.bpel.explang.EvaluationException