Package org.apache.synapse.mediators.xquery

# Class MediatorBaseVariable

java.lang.Object
org.apache.synapse.mediators.xquery.MediatorVariable
org.apache.synapse.mediators.xquery.MediatorBaseVariable

public class MediatorBaseVariable extends MediatorVariable
The basic variable hold the value that need to provided when creating the variable.

- ## Field Summary

  ### Fields inherited from class org.apache.synapse.mediators.xquery.MediatorVariable

  `value`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MediatorBaseVariable(QName name)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `evaluateValue(org.apache.synapse.MessageContext synCtx)`
  Calculates the value of this variable

  ### Methods inherited from class org.apache.synapse.mediators.xquery.MediatorVariable

  `getName, getNodeKind, getType, getValue, setName, setNodeKind, setType, setValue`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MediatorBaseVariable

    public MediatorBaseVariable(QName name)

- ## Method Details

  - ### evaluateValue

    public boolean evaluateValue(org.apache.synapse.MessageContext synCtx)
    Description copied from class: `MediatorVariable`
    Calculates the value of this variable
    Specified by:
      `evaluateValue` in class `MediatorVariable`
    Parameters:
      `synCtx` - Current message in transit
    Returns:
      `true` if the value has changed