|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.components.treeprocessor.MapStackResolver
VariableResolverFactory
public abstract class MapStackResolver
Utility class for handling {...} pattern substitutions from a List of Maps.
| Field Summary | |
|---|---|
static Map |
EMPTY_MAP
Deprecated. |
| Constructor Summary | |
|---|---|
MapStackResolver()
Deprecated. |
|
| Method Summary | |
|---|---|
static Parameters |
buildParameters(Map expressions,
List mapStack)
Deprecated. Build a Parameters object from a Map of named ListOfMapResolvers and
a list of Maps used for resolution. |
static MapStackResolver |
getResolver(String expression)
Deprecated. Get a resolver for a given expression. |
static boolean |
needsResolve(String expression)
Deprecated. Does an expression need resolving (i.e. contain {...} patterns) ? |
abstract String |
resolve(List mapStack)
Deprecated. Resolve all {...} patterns using the values given in the list of maps. |
static Map |
resolveMap(Map expressions,
List mapStack)
Deprecated. Resolve all values of a Map from a Map of named ListOfMapResolvers and
a list of Maps used for resolution. |
static String |
unescape(String expression)
Deprecated. 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 |
| Field Detail |
|---|
public static final Map EMPTY_MAP
| Constructor Detail |
|---|
public MapStackResolver()
| Method Detail |
|---|
public abstract String resolve(List mapStack)
throws PatternException
PatternExceptionpublic static boolean needsResolve(String expression)
public static String unescape(String expression)
expression - the expression to unescape.
expression if unescaping isn't necessary.
public static MapStackResolver getResolver(String expression)
throws PatternException
expression.
PatternException
public static Parameters buildParameters(Map expressions,
List mapStack)
throws PatternException
Parameters object from a Map of named ListOfMapResolvers and
a list of Maps used for resolution.
Parameters.
PatternException
public static Map resolveMap(Map expressions,
List mapStack)
throws PatternException
Map from a Map of named ListOfMapResolvers and
a list of Maps used for resolution.
Map.
PatternException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||