| java.lang.Object org.apache.cocoon.components.treeprocessor.variables.VariableResolver
All known Subclasses: org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver, org.apache.cocoon.components.treeprocessor.variables.NOPVariableResolver,
VariableResolver | abstract public class VariableResolver (Code) | | Utility class for handling {...} pattern substitutions in sitemap statements.
author: Sylvain Wallez version: CVS $Id: VariableResolver.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public static Map | buildMap(Map expressions, InvokeContext context, Map objectModel) Build a Map from a Map of named ListOfMapResolver s and
a list of Maps used for resolution. | public static Parameters | buildParameters(Map expressions, InvokeContext context, Map objectModel) Build a Parameters object from a Map of named VariableResolver s and
a list of Maps used for resolution. | public boolean | equals(Object object) | public int | hashCode() | public String | resolve(Map objectModel) Resolve all {...} patterns using the values given in the object model. | abstract public String | resolve(InvokeContext context, Map objectModel) Resolve all {...} patterns using the values given in the list of maps and the object model. | final public String | toString() |
EMPTY_MAP | final public static Map EMPTY_MAP(Code) | | |
VariableResolver | protected VariableResolver(String expr)(Code) | | |
buildMap | public static Map buildMap(Map expressions, InvokeContext context, Map objectModel) throws PatternException(Code) | | Build a Map from a Map of named ListOfMapResolver s and
a list of Maps used for resolution.
a fully resolved Map . |
buildParameters | public static Parameters buildParameters(Map expressions, InvokeContext context, Map objectModel) throws PatternException(Code) | | Build a Parameters object from a Map of named VariableResolver s and
a list of Maps used for resolution.
a fully resolved Parameters . |
equals | public boolean equals(Object object)(Code) | | Compare two VariableResolvers
|
hashCode | public int hashCode()(Code) | | generate HashCode
needed to determine uniqueness within hashtables
|
|
|