org.apache.cocoon.components.variables
Interface VariableResolverFactory
- All Known Implementing Classes:
- DefaultVariableResolverFactory
public interface VariableResolverFactory
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 {...},
NOTE: This interface is work in progress, so chances are that it will
change.
- Version:
- CVS $Id: VariableResolverFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
ROLE
static final String ROLE
lookup
VariableResolver lookup(String expression)
throws PatternException
- Get a resolver for a given expression. Chooses the most efficient implementation
depending on
expression
.
Don't forget to release the resolver
- Throws:
PatternException
release
void release(VariableResolver resolver)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.