*/
try {
OutputFormattable formattable = entityProviderManager.getProviderByPrefixAndCapability(prefix, OutputFormattable.class);
if (formattable != null) {
// use provider's formatter
formattable.formatOutput(ref, format, entities, params, outputStream);
handled = true;
}
} catch (FormatUnsupportedException e) {
// provider decided not to handle this format
handled = false;