public void internalOutputFormatter(EntityReference ref, String format, List<EntityData> entities, Map<String, Object> params, OutputStream output, EntityView view) {
if (format == null) { format = Outputable.HTML; }
// check the format to see if we can handle it
if (! ReflectUtils.contains(HANDLED_OUTPUT_FORMATS, format)) {
throw new FormatUnsupportedException("Internal output formatter cannot handle format ("+format+") for ref ("+ref+")", ref+"", format);
}
if (view == null) {
view = entityBrokerManager.makeEntityView(ref, null, null);
}