| org.apache.tapestry.ioc.services.SymbolSource
All known Subclasses: org.apache.tapestry.ioc.internal.services.SymbolSourceImpl,
SymbolSource | public interface SymbolSource (Code) | | Used to manage symbols, configuration properties whose value is evaluated at runtime.
Symbols use the Ant syntax: ${foo.bar.baz} where foo.bar.baz is the
name of the symbol. The symbol may appear inside annotation, such as
Value . Values for
symbols are provided by
SymbolProvider .
|
expandSymbols | String expandSymbols(String input)(Code) | | Given an input string that may contain symbols, returns the string with any and
all symbols fully expanded.
Parameters: input - expanded input |
valueForSymbol | String valueForSymbol(String symbolName)(Code) | | Expands the value for a particular symbol. This may involve recursive expansion, if the
immediate value for the symbol itself contains symbols.
Parameters: symbolName - the expanded string throws: RuntimeException - if the symbol name can not be expanded (no SymbolProvider can provide itsvalue), or if an expansion is directly or indirectly recursive |
|
|