public class MacroExpander
extends java.lang.Object
implements uk.ac.ed.epcc.webapp.Contexed
ValueParser
If no format is specified a default formatter is chosen based on the type of the parameter.
Might be better to use ExpressionExpander if the target is an ExpressionTargetExpressionExpander
| Constructor and Description |
|---|
MacroExpander(uk.ac.ed.epcc.webapp.AppContext c,
ValueParserPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.lang.String |
expand(java.lang.String input) |
PropertyContainer |
getContainer() |
uk.ac.ed.epcc.webapp.AppContext |
getContext() |
PropertyFinder |
getFinder() |
void |
setPropertyContainer(PropertyContainer cont) |
void |
setPropertyFinder(PropertyFinder f) |
public MacroExpander(uk.ac.ed.epcc.webapp.AppContext c,
ValueParserPolicy policy)
public uk.ac.ed.epcc.webapp.AppContext getContext()
getContext in interface uk.ac.ed.epcc.webapp.Contexedpublic void setPropertyContainer(PropertyContainer cont)
public void setPropertyFinder(PropertyFinder f)
public PropertyFinder getFinder()
public PropertyContainer getContainer()
public <T> java.lang.String expand(java.lang.String input)