|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.components.treeprocessor.variables.VariableResolverFactory
public class VariableResolverFactory
| Constructor Summary | |
|---|---|
VariableResolverFactory()
|
|
| Method Summary | |
|---|---|
static VariableResolver |
getResolver(String expression,
ComponentManager manager)
Deprecated. use the version with ServiceManager |
static VariableResolver |
getResolver(String expression,
ServiceManager manager)
Get a resolver for a given expression. |
static boolean |
needsResolve(String expression)
Does an expression need resolving (i.e. contain {...} patterns) ? |
static void |
setDisposableCollector(List collector)
Set the thread-local list where all created resolvers that need to be disposed will be collected. |
static String |
unescape(String expression)
Unescape an expression that doesn't need to be resolved, but may contain escaped '{' characters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariableResolverFactory()
| Method Detail |
|---|
public static void setDisposableCollector(List collector)
The purpose of collecting resolvers is to avoid manual release (or lack thereof)
that requires most ProcessingNodes to implement Disposable.
public static boolean needsResolve(String expression)
public static String unescape(String expression)
expression - the expression to unescape.
expression if unescaping isn't necessary.
public static VariableResolver getResolver(String expression,
ComponentManager manager)
throws PatternException
ServiceManager
expression.
PatternException
public static VariableResolver getResolver(String expression,
ServiceManager manager)
throws PatternException
expression.
PatternException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||