public class SynapseXPathVariableContext
extends java.lang.Object
implements org.jaxen.VariableContext
Constructor and Description |
---|
SynapseXPathVariableContext(org.jaxen.VariableContext parent,
MessageContext synCtx)
Initializes the
SynapseVariableContext with the specified context |
SynapseXPathVariableContext(org.jaxen.VariableContext parent,
MessageContext synCtx,
org.apache.axiom.soap.SOAPEnvelope env)
Initializes the
SynapseVariableContext with the specified envelope |
SynapseXPathVariableContext(org.jaxen.VariableContext parent,
org.apache.axiom.soap.SOAPEnvelope env)
Initializes the
SynapseVariableContext with the specified envelope |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getVariableValue(java.lang.String namespaceURI,
java.lang.String prefix,
java.lang.String localName)
Gets the variable values resolved from the context.
|
public SynapseXPathVariableContext(org.jaxen.VariableContext parent, MessageContext synCtx)
Initializes the SynapseVariableContext
with the specified context
parent
- the parent variable contextsynCtx
- context to be initialized for the variable resolutionpublic SynapseXPathVariableContext(org.jaxen.VariableContext parent, org.apache.axiom.soap.SOAPEnvelope env)
Initializes the SynapseVariableContext
with the specified envelope
parent
- the parent variable contextenv
- envelope to be initialized for the variable resolutionpublic SynapseXPathVariableContext(org.jaxen.VariableContext parent, MessageContext synCtx, org.apache.axiom.soap.SOAPEnvelope env)
Initializes the SynapseVariableContext
with the specified envelope
parent
- the parent variable contextsynCtx
- Synapse Message context to be initialized for the variable resolutionenv
- envelope to be initialized for the variable resolutionpublic java.lang.Object getVariableValue(java.lang.String namespaceURI, java.lang.String prefix, java.lang.String localName) throws org.jaxen.UnresolvableException
getVariableValue
in interface org.jaxen.VariableContext
namespaceURI
- namespaces for the variable resolutionprefix
- string prefix for the variable resolutionlocalName
- string local name for the variable resolutionorg.jaxen.UnresolvableException
- if the variable specified does not foundCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.