public class _ObjectBuilderSettingEvaluator extends Object
Properties
.
It should be replaced with FTL later (when it was improved to be practical for this), so the syntax should be
a subset of the future FTL syntax. This is also why this syntax is restrictive; it shouldn't accept anything that
FTL will not.Modifier and Type | Method and Description |
---|---|
static int |
configureBean(String argumentListSrc,
int posAfterOpenParen,
Object bean,
_SettingEvaluationEnvironment env)
Used for getting a list of setting assignments (like
(x=1, y=2) ) from an existing string, and apply it on
an existing bean. |
static Object |
eval(String src,
Class expectedClass,
_SettingEvaluationEnvironment env) |
public static Object eval(String src, Class expectedClass, _SettingEvaluationEnvironment env) throws _ObjectBuilderSettingEvaluationException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static int configureBean(String argumentListSrc, int posAfterOpenParen, Object bean, _SettingEvaluationEnvironment env) throws _ObjectBuilderSettingEvaluationException, ClassNotFoundException, InstantiationException, IllegalAccessException
(x=1, y=2)
) from an existing string, and apply it on
an existing bean._ObjectBuilderSettingEvaluationException
ClassNotFoundException
InstantiationException
IllegalAccessException
Copyright © 2016. All Rights Reserved.