src/main/java/ognl/Ognl.java
public static void setValue(String expression, Object root, Object value)
            throws OgnlException
    {
        setValue(parseExpression(expression), root, value);
    }
public static void setValue(String expression, Object root, Object value)
            throws OgnlException
    {
        setValue(parseExpression(expression), root, value);
    }
public static void setValue ( String expression , Object root , Object value ) throws OgnlException { setValue ( parseExpression ( expression ) , root , value ) ; }
Convenience method that combines calls to <code> parseExpression </code> and
<code> setValue</code>.

@see #parseExpression(String)
@see #setValue(Object,Object,Object)
@param expression
the OGNL expression to be parsed
@param root
the root object for the OGNL expression
@param value
the value to insert into the object graph
@throws ExpressionSyntaxException
if the expression is malformed
@throws MethodFailedException
if the expression called a method which failed
@throws NoSuchPropertyException
if the expression referred to a nonexistent property
@throws InappropriateExpressionException
if the expression can't be used in this context
@throws OgnlException
if there is a pathological environmental problem
Convenience method that combines calls to <code > parseExpression < / code > and <code > setValue< / code > .