|
|||||||||||
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.VariableResolver
Utility class for handling {...} pattern substitutions in sitemap statements.
Field Summary | |
protected String |
originalExpr
|
static String |
ROLE
|
Constructor Summary | |
protected |
VariableResolver()
|
protected |
VariableResolver(String expr)
|
Method Summary | |
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. |
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. |
boolean |
equals(Object object)
Compare two VariableResolvers |
int |
hashCode()
generate HashCode needed to determine uniqueness within hashtables |
abstract String |
resolve(InvokeContext context,
Map objectModel)
Resolve all {...} patterns using the values given in the list of maps and the object model. |
String |
resolve(Map objectModel)
Resolve all {...} patterns using the values given in the object model. |
abstract void |
setExpression(String expression)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String ROLE
protected String originalExpr
Constructor Detail |
protected VariableResolver()
protected VariableResolver(String expr)
Method Detail |
public abstract void setExpression(String expression) throws org.apache.cocoon.sitemap.PatternException
org.apache.cocoon.sitemap.PatternException
public final String toString()
public boolean equals(Object object)
public int hashCode()
public String resolve(Map objectModel) throws org.apache.cocoon.sitemap.PatternException
org.apache.cocoon.sitemap.PatternException
public abstract String resolve(InvokeContext context, Map objectModel) throws org.apache.cocoon.sitemap.PatternException
org.apache.cocoon.sitemap.PatternException
public static Parameters buildParameters(Map expressions, InvokeContext context, Map objectModel) throws org.apache.cocoon.sitemap.PatternException
Parameters
object from a Map of named VariableResolver
s and
a list of Maps used for resolution.
Parameters
.
org.apache.cocoon.sitemap.PatternException
public static Map buildMap(Map expressions, InvokeContext context, Map objectModel) throws org.apache.cocoon.sitemap.PatternException
Map
from a Map of named ListOfMapResolver
s and
a list of Maps used for resolution.
Map
.
org.apache.cocoon.sitemap.PatternException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |