| org.apache.cocoon.components.variables.DefaultVariableResolverFactory
DefaultVariableResolverFactory | public class DefaultVariableResolverFactory extends AbstractLogEnabled implements ThreadSafe,VariableResolverFactory,Component,Serviceable,Contextualizable(Code) | | This factory component creates a
VariableResolver for an expression.
A
VariableResolver can then be used at runtime to resolve
a variable with the current value.
A variable can contain dynamic parts that are contained in {...},
author: Carsten Ziegeler version: CVS $Id: DefaultVariableResolverFactory.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
protected Context | context | protected ServiceManager | manager |
context | protected Context context(Code) | | |
manager | protected ServiceManager manager(Code) | | |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | |
lookup | public VariableResolver lookup(String expression) throws PatternException(Code) | | Get a resolver for a given expression. Chooses the most efficient implementation
depending on expression .
Don't forget to release the resolver
|
needsResolve | protected boolean needsResolve(String expression)(Code) | | Does an expression need resolving (i.e. contain {...} patterns) ?
|
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
|
|