|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.treeprocessor.variables.VariableResolverFactory
Constructor Summary | |
VariableResolverFactory()
|
Method Summary | |
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. |
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, ServiceManager manager) throws org.apache.cocoon.sitemap.PatternException
expression
.
org.apache.cocoon.sitemap.PatternException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |