Class MediatorVariable
- java.lang.Object
-
- org.apache.synapse.mediators.xquery.MediatorVariable
-
- Direct Known Subclasses:
MediatorBaseVariable,MediatorCustomVariable
public abstract class MediatorVariable extends Object
Base class representing mediator variable used in XQuery mediator
-
-
Constructor Summary
Constructors Constructor Description MediatorVariable(QName name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanevaluateValue(org.apache.synapse.MessageContext synCtx)Calculates the value of this variableQNamegetName()net.sf.saxon.s9api.XdmNodeKindgetNodeKind()net.sf.saxon.s9api.ItemTypegetType()ObjectgetValue()voidsetName(QName name)voidsetNodeKind(net.sf.saxon.s9api.XdmNodeKind nodeKind)voidsetType(net.sf.saxon.s9api.ItemType type)voidsetValue(Object value)
-
-
-
Field Detail
-
value
protected Object value
-
-
Constructor Detail
-
MediatorVariable
public MediatorVariable(QName name)
-
-
Method Detail
-
getName
public QName getName()
-
setName
public void setName(QName name)
-
getType
public net.sf.saxon.s9api.ItemType getType()
-
setType
public void setType(net.sf.saxon.s9api.ItemType type)
-
getNodeKind
public net.sf.saxon.s9api.XdmNodeKind getNodeKind()
-
setNodeKind
public void setNodeKind(net.sf.saxon.s9api.XdmNodeKind nodeKind)
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
evaluateValue
public abstract boolean evaluateValue(org.apache.synapse.MessageContext synCtx)
Calculates the value of this variable- Parameters:
synCtx- Current message in transit- Returns:
trueif the value has changed
-
-