* @return the String representation of the rendered RegionWidget
* @throws {@link org.apache.rave.exception.NotSupportedException}
*/
@Override
public String render(RegionWidget widget) {
RegionWidgetRenderer renderer = supportedWidgets.get(widget.getWidget().getType());
if(renderer == null) {
throw new NotSupportedException(widget.getWidget().getType() + " is not supported");
}
return renderer.render(widget);
}