org.apache.ode.bpel.runtime
Class PropertyAliasEvaluationContext

java.lang.Object
  extended by org.apache.ode.bpel.runtime.PropertyAliasEvaluationContext
All Implemented Interfaces:
EvaluationContext

public class PropertyAliasEvaluationContext
extends java.lang.Object
implements EvaluationContext

Expression language evaluation context used for evaluating property aliases.


Constructor Summary
PropertyAliasEvaluationContext(org.w3c.dom.Element msgData, java.util.Map<java.lang.String,org.w3c.dom.Node> headerParts, OProcess.OPropertyAlias alias)
           
 
Method Summary
 org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root, OExpression expr)
           
 java.net.URI getBaseResourceURI()
           
 java.util.Date getCurrentEventDateTime()
           
 org.w3c.dom.Node getPartData(org.w3c.dom.Element message, OMessageVarType.Part part)
           
 java.lang.Long getProcessId()
           
 javax.xml.namespace.QName getProcessQName()
           
 org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
           
 org.w3c.dom.Node getRootNode()
           
 boolean isLinkActive(OLink olink)
           
 boolean narrowTypes()
           
 java.lang.String readMessageProperty(OScope.Variable variable, OProcess.OProperty property)
           
 org.w3c.dom.Node readVariable(OScope.Variable variable, OMessageVarType.Part part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAliasEvaluationContext

public PropertyAliasEvaluationContext(org.w3c.dom.Element msgData,
                                      java.util.Map<java.lang.String,org.w3c.dom.Node> headerParts,
                                      OProcess.OPropertyAlias alias)
Method Detail

getRootNode

public org.w3c.dom.Node getRootNode()
Specified by:
getRootNode in interface EvaluationContext

isLinkActive

public boolean isLinkActive(OLink olink)
                     throws FaultException
Specified by:
isLinkActive in interface EvaluationContext
Throws:
FaultException

readMessageProperty

public java.lang.String readMessageProperty(OScope.Variable variable,
                                            OProcess.OProperty property)
                                     throws FaultException
Specified by:
readMessageProperty in interface EvaluationContext
Throws:
FaultException

readVariable

public org.w3c.dom.Node readVariable(OScope.Variable variable,
                                     OMessageVarType.Part part)
                              throws FaultException
Specified by:
readVariable in interface EvaluationContext
Throws:
FaultException

evaluateQuery

public org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root,
                                      OExpression expr)
                               throws FaultException
Specified by:
evaluateQuery in interface EvaluationContext
Throws:
FaultException

getProcessId

public java.lang.Long getProcessId()
Specified by:
getProcessId in interface EvaluationContext

getProcessQName

public javax.xml.namespace.QName getProcessQName()
Specified by:
getProcessQName in interface EvaluationContext

getPartData

public org.w3c.dom.Node getPartData(org.w3c.dom.Element message,
                                    OMessageVarType.Part part)
                             throws FaultException
Specified by:
getPartData in interface EvaluationContext
Throws:
FaultException

narrowTypes

public boolean narrowTypes()
Specified by:
narrowTypes in interface EvaluationContext

getBaseResourceURI

public java.net.URI getBaseResourceURI()
Specified by:
getBaseResourceURI in interface EvaluationContext

getPropertyValue

public org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
Specified by:
getPropertyValue in interface EvaluationContext

getCurrentEventDateTime

public java.util.Date getCurrentEventDateTime()
Specified by:
getCurrentEventDateTime in interface EvaluationContext


Copyright © 2015 WSO2. All Rights Reserved.