src/main/java/ognl/Ognl.java
public static void setValue(Object tree, Object root, Object value)
            throws OgnlException
    {
        setValue(tree, createDefaultContext(root), root, value);
    }
public static void setValue(Object tree, Object root, Object value)
            throws OgnlException
    {
        setValue(tree, createDefaultContext(root), root, value);
    }
public static void setValue ( Object tree , Object root , Object value ) throws OgnlException { setValue ( tree , createDefaultContext ( root ) , root , value ) ; }
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at
the given root object.

@param tree
the OGNL expression tree to evaluate, as returned by parseExpression()
@param root
the root object for the OGNL expression
@param value
the value to insert into the object graph
@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
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at the given root object .