public class DefaultVariableResolver extends Object implements VariableResolver, Serializable
Constructor and Description |
---|
DefaultVariableResolver() |
Modifier and Type | Method and Description |
---|---|
com.opensymphony.provider.BeanProvider |
getBeanProvider() |
Object |
getVariableFromMaps(String var,
Map transientVars,
com.opensymphony.module.propertyset.PropertySet ps) |
void |
setBeanProvider(com.opensymphony.provider.BeanProvider beanProvider) |
Object |
translateVariables(String s,
Map transientVars,
com.opensymphony.module.propertyset.PropertySet ps)
Parses a string for instances of "${foo}" and returns a string with all instances replaced
with the string value of the foo object (foo.toString()).
|
public void setBeanProvider(com.opensymphony.provider.BeanProvider beanProvider)
public com.opensymphony.provider.BeanProvider getBeanProvider()
public Object getVariableFromMaps(String var, Map transientVars, com.opensymphony.module.propertyset.PropertySet ps)
public Object translateVariables(String s, Map transientVars, com.opensymphony.module.propertyset.PropertySet ps)
translateVariables
in interface VariableResolver
Copyright © 2021 catworkx GmbH. All rights reserved.