}
public RenderedImage createRendering(RenderContext renderContext) {
Vector<RenderableImage> sources = getSources();
ParameterBlock rdParam = (ParameterBlock) paramBlock.clone();
if (sources != null) {
Vector<Object> rdSources = new Vector<Object>();
int i = 0;
while (i < sources.size()) {
RenderContext newContext = CRIF.mapRenderContext(i, renderContext, paramBlock,
this);
RenderedImage rdim = sources.elementAt(i).createRendering(newContext);
if (rdim != null) {
rdSources.addElement(rdim);
}
i++;
}
if (rdSources.size() > 0) {
rdParam.setSources(rdSources);
}
}
return CRIF.create(renderContext, rdParam);
}