protected Object evaluateGetValueBody( OgnlContext context, Object source ) throws OgnlException { Object result; context.setCurrentObject(source); context.setCurrentNode(this); if (!constantValueCalculated) { constantValueCalculated = true; hasConstantValue = isConstant(context); if (hasConstantValue) { constantValue = getValueBody(context, source); } } return hasConstantValue ? constantValue : getValueBody(context, source); }
protected Object evaluateGetValueBody(OgnlContext context, Object source) throws OgnlException { context.setCurrentObject(source); context.setCurrentNode(this); if (!_constantValueCalculated) { _constantValueCalculated = true; boolean constant = isConstant(context); if (constant) { _constantValue = getValueBody(context, source); } _hasConstantValue = constant; } return _hasConstantValue ? _constantValue : getValueBody(context, source); }
protected Object evaluateGetValueBody(OgnlContext context, Object source) throws OgnlException { context.setCurrentObject(source); context.setCurrentNode(this); if (!_constantValueCalculated) { _constantValueCalculated = true; boolean constant = isConstant(context); if (constant) { _constantValue = getValueBody(context, source); } _hasConstantValue = constant; } return _hasConstantValue ? _constantValue : getValueBody(context, source); }