Class ResourceSymbolProvider
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.services.ResourceSymbolProvider
-
- All Implemented Interfaces:
SymbolProvider
- Direct Known Subclasses:
ClasspathResourceSymbolProvider
,ContextResourceSymbolProvider
public class ResourceSymbolProvider extends java.lang.Object implements SymbolProvider
Makes aResource
available as aSymbolProvider
- Since:
- 5.1.0.5
-
-
Constructor Summary
Constructors Constructor Description ResourceSymbolProvider(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
valueForSymbol(java.lang.String symbolName)
Returns the value for the symbol, or null if this provider can not provide a value.
-
-
-
Constructor Detail
-
ResourceSymbolProvider
public ResourceSymbolProvider(Resource resource)
-
-
Method Detail
-
valueForSymbol
public java.lang.String valueForSymbol(java.lang.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 interfaceSymbolProvider
- Returns:
- the value or null
-
-