Class SymbolSourceImpl
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl
-
- All Implemented Interfaces:
SymbolSource
public class SymbolSourceImpl extends Object implements SymbolSource
-
-
Constructor Summary
Constructors Constructor Description SymbolSourceImpl(List<SymbolProvider> providers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
expandSymbols(String input)
Given an input string that may contain symbols, returns the string with any and all symbols fully expanded.String
valueForSymbol(String symbolName)
Expands the value for a particular symbol.
-
-
-
Constructor Detail
-
SymbolSourceImpl
public SymbolSourceImpl(List<SymbolProvider> providers)
-
-
Method Detail
-
expandSymbols
public String expandSymbols(String input)
Description copied from interface:SymbolSource
Given an input string that may contain symbols, returns the string with any and all symbols fully expanded.- Specified by:
expandSymbols
in interfaceSymbolSource
- Returns:
- expanded input
-
valueForSymbol
public String valueForSymbol(String symbolName)
Description copied from interface:SymbolSource
Expands the value for a particular symbol. This may involve recursive expansion, if the immediate value for the symbol itself contains symbols.- Specified by:
valueForSymbol
in interfaceSymbolSource
- Returns:
- the expanded string
-
-