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 and Description
    `MediatorBaseVariable(QName name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### MediatorBaseVariable

          public MediatorBaseVariable(QName name)

  - ### Method Detail

    - #### 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

Copyright © 2005–2020 Apache Software Foundation. All rights reserved.