|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.rtrep.v1.ExprEvaluationContextImpl
public class ExprEvaluationContextImpl
The context in which BPEL expressions are evaluated. This class is handed of
the OExpression
instances to provide access to
variables, link statuses, and the like.
Constructor Summary | |
---|---|
ExprEvaluationContextImpl(org.apache.ode.bpel.rtrep.v1.ScopeFrame scopeInstace,
OdeInternalInstance ntv)
|
|
ExprEvaluationContextImpl(org.apache.ode.bpel.rtrep.v1.ScopeFrame scopeInstnce,
OdeInternalInstance ntv,
java.util.Map<OLink,java.lang.Boolean> linkVals)
|
|
ExprEvaluationContextImpl(org.apache.ode.bpel.rtrep.v1.ScopeFrame scopeInstace,
OdeInternalInstance ntv,
org.w3c.dom.Node root)
|
Method Summary | |
---|---|
org.w3c.dom.Node |
evaluateQuery(org.w3c.dom.Node root,
OExpression expr)
Evaluate a query expression. |
java.net.URI |
getBaseResourceURI()
Retrieves the base URI that the BPEL Process execution contextis running relative to. |
org.w3c.dom.Node |
getPartData(org.w3c.dom.Element message,
OMessageVarType.Part part)
|
java.lang.Long |
getProcessId()
Reads the current process instance id. |
org.w3c.dom.Node |
getPropertyValue(javax.xml.namespace.QName propertyName)
Retrieves the property value that has been defined for this BPEL Process type. |
org.w3c.dom.Node |
getRootNode()
Obtain the root node. |
boolean |
isLinkActive(OLink olink)
Obtain the status of a control link. |
boolean |
narrowTypes()
Indicates whether simple types should be narrowed to a Java type when using this evaluation context. |
java.lang.String |
readMessageProperty(OScope.Variable variable,
OProcess.OProperty property)
Read the value of a BPEL property. |
org.w3c.dom.Node |
readVariable(OScope.Variable variable,
OMessageVarType.Part part)
Read the value of a BPEL variable. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExprEvaluationContextImpl(org.apache.ode.bpel.rtrep.v1.ScopeFrame scopeInstace, OdeInternalInstance ntv)
public ExprEvaluationContextImpl(org.apache.ode.bpel.rtrep.v1.ScopeFrame scopeInstace, OdeInternalInstance ntv, org.w3c.dom.Node root)
public ExprEvaluationContextImpl(org.apache.ode.bpel.rtrep.v1.ScopeFrame scopeInstnce, OdeInternalInstance ntv, java.util.Map<OLink,java.lang.Boolean> linkVals)
Method Detail |
---|
public org.w3c.dom.Node readVariable(OScope.Variable variable, OMessageVarType.Part part) throws FaultException
EvaluationContext
readVariable
in interface EvaluationContext
variable
- variable to readpart
- the part (or null
)
Node
FaultException
public org.w3c.dom.Node evaluateQuery(org.w3c.dom.Node root, OExpression expr) throws FaultException
EvaluationContext
evaluateQuery
in interface EvaluationContext
root
- the root contextexpr
- the query expression
FaultException
public java.lang.String readMessageProperty(OScope.Variable variable, OProcess.OProperty property) throws FaultException
EvaluationContext
readMessageProperty
in interface EvaluationContext
variable
- variable containing propertyproperty
- property to read
FaultException
public boolean isLinkActive(OLink olink) throws FaultException
EvaluationContext
isLinkActive
in interface EvaluationContext
olink
- link to check
true
if the link is active, false
otherwise.
FaultException
public java.lang.String toString()
toString
in class java.lang.Object
public org.w3c.dom.Node getRootNode()
EvaluationContext
getRootNode
in interface EvaluationContext
public org.w3c.dom.Node getPartData(org.w3c.dom.Element message, OMessageVarType.Part part) throws FaultException
getPartData
in interface EvaluationContext
FaultException
public java.lang.Long getProcessId()
EvaluationContext
getProcessId
in interface EvaluationContext
public boolean narrowTypes()
EvaluationContext
narrowTypes
in interface EvaluationContext
public java.net.URI getBaseResourceURI()
EvaluationContext
getBaseResourceURI
in interface EvaluationContext
public org.w3c.dom.Node getPropertyValue(javax.xml.namespace.QName propertyName)
EvaluationContext
getPropertyValue
in interface EvaluationContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |