Package org.apache.tapestry5.http.internal.util

## Class DelegatingSymbolProvider

- java.lang.Object
- - org.apache.tapestry5.http.internal.util.DelegatingSymbolProvider

- All Implemented Interfaces:
    `SymbolProvider`

      public class DelegatingSymbolProvider
      extends Object
      implements SymbolProvider

  Combines multiple symbol providers.
  Since:
    5.4

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DelegatingSymbolProvider​(SymbolProvider... providers)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `valueForSymbol​(String symbolName)` | Returns the value for the symbol, or null if this provider can not provide a value.

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

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

- - ### Constructor Detail

    - #### DelegatingSymbolProvider

          public DelegatingSymbolProvider​(SymbolProvider... providers)

  - ### Method Detail

    - #### valueForSymbol

          public String valueForSymbol​(String symbolName)

      Description copied from interface: `SymbolProvider`
      Returns the value for the symbol, or null if this provider can not provide a value. The value itself may contain symbols that will be recursively expanded.
      Specified by:
        `valueForSymbol` in interface `SymbolProvider`
      Returns:
        the value or null