org.apache.commons.configuration2.interpol

## Class ExprLookup.Variable

- java.lang.Object
- - org.apache.commons.configuration2.interpol.ExprLookup.Variable

- Enclosing class:
    ExprLookup

      public static class ExprLookup.Variable
      extends Object

  The key and corresponding object that will be made available to the JexlContext for use in expressions.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Variable()`
    `Variable(String name, Object value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`
    `Object` | `getValue()`
    `void` | `setName(String name)`
    `void` | `setValue(Object value)`

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

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

- - ### Constructor Detail

    - #### Variable

          public Variable()

    - #### Variable

          public Variable(String name,
                          Object value)

  - ### Method Detail

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### getValue

          public Object getValue()

    - #### setValue

          public void setValue(Object value)
                        throws ConfigurationRuntimeException

      Throws:
        `ConfigurationRuntimeException`

Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.