byte evaluation
) throws JRException
{
evaluateProperties(evaluation);
JRExpression expression = this.getExpression();
JRRenderable newRenderer = null;
Object source = evaluateExpression(expression, evaluation);
if (source != null)
{
if (isUsingCache() && filler.fillContext.hasLoadedImage(source))
{
newRenderer = filler.fillContext.getLoadedImage(source).getRenderer();
}
else
{
Class expressionClass = expression.getValueClass();
if (Image.class.getName().equals(expressionClass.getName()))
{
Image img = (Image) source;
newRenderer = JRImageRenderer.getInstance(img, getOnErrorTypeValue());