} else { for (int i = 0; i < accessFormats.length; i++) { if (! ReflectUtils.contains(formats, accessFormats[i])) { ReflectUtils.appendArray(formats, accessFormats[i]);
} else { for (int i = 0; i < accessFormats.length; i++) { if (! ReflectUtils.contains(formats, accessFormats[i])) { ReflectUtils.appendArray(formats, accessFormats[i]);
if (! ReflectUtils.contains(HANDLED_OUTPUT_FORMATS, format)) { throw new FormatUnsupportedException("Internal output formatter cannot handle format ("+format+") for ref ("+ref+")", ref+"", format);
if (! ReflectUtils.contains(HANDLED_OUTPUT_FORMATS, format)) { throw new FormatUnsupportedException("Internal output formatter cannot handle format ("+format+") for ref ("+ref+")", ref+"", format);
if (entityViewKeys != null && ! ReflectUtils.contains(entityViewKeys, view.getViewKey()) ) { throw new EntityException("Access provider for " + view.getEntityReference().getPrefix() + " will not handle this view ("+view.getViewKey()+"): " + view, if (accessFormats != null && ! ReflectUtils.contains(accessFormats, view.getFormat()) ) { throw new FormatUnsupportedException("Access provider for " + view.getEntityReference().getPrefix() + " will not handle this format ("+view.getFormat()+")",
if (entityViewKeys != null && ! ReflectUtils.contains(entityViewKeys, view.getViewKey()) ) { throw new EntityException("Access provider for " + view.getEntityReference().getPrefix() + " will not handle this view ("+view.getViewKey()+"): " + view, if (accessFormats != null && ! ReflectUtils.contains(accessFormats, view.getFormat()) ) { throw new FormatUnsupportedException("Access provider for " + view.getEntityReference().getPrefix() + " will not handle this format ("+view.getFormat()+")",
String[] outputFormats = outputable.getHandledOutputFormats(); if (outputFormats == null || ReflectUtils.contains(outputFormats, format) ) { boolean handled = false;
String[] outputFormats = outputable.getHandledOutputFormats(); if (outputFormats == null || ReflectUtils.contains(outputFormats, format) ) { boolean handled = false;
if (inputable != null) { String[] inputFormats = inputable.getHandledInputFormats(); if (inputFormats == null || ReflectUtils.contains(inputFormats, format) ) { boolean handled = false;
if (inputable != null) { String[] inputFormats = inputable.getHandledInputFormats(); if (inputFormats == null || ReflectUtils.contains(inputFormats, format) ) { boolean handled = false;
if (outputable != null) { String[] outputFormats = outputable.getHandledOutputFormats(); if (outputFormats != null && ReflectUtils.contains(outputFormats, Formats.FORM) ) { if (outputFormats == null || ReflectUtils.contains(outputFormats, format) ) { if (inputable != null) { String[] inputFormats = inputable.getHandledInputFormats(); if (inputFormats == null || ReflectUtils.contains(inputFormats, format) ) {
if (outputable != null) { String[] outputFormats = outputable.getHandledOutputFormats(); if (outputFormats != null && ReflectUtils.contains(outputFormats, Formats.FORM) ) { if (outputFormats == null || ReflectUtils.contains(outputFormats, format) ) { if (inputable != null) { String[] inputFormats = inputable.getHandledInputFormats(); if (inputFormats == null || ReflectUtils.contains(inputFormats, format) ) {