ArrayValue.CONTENT_TYPE, false) });
public Result process(Map parameter, Context context) throws Exception {
Value []values = ((ArrayValue)parameter.get(SimpleProcessor.INPUT)).getArray();
boolean includeContent = ((BooleanValue)parameter.get(INCLUDE_CONTENT)).booleanValue();
Value instructions = (Value)parameter.get(INSTRUCTIONS);
List arrayEntries = new ArrayList();
for ( int i = 0; i < values.length; i++ ) {
Map map = ((MapValue)values[i]).getMap();
Map resultMap = new HashMap();
resultMap.putAll(map);
URI uri = (URI)map.get(URI_ENTRY);
Value content = Projector.getRepository().getResource(uri, context.getCredentials());
if ( content != null ) {
if ( instructions instanceof MapValue ) {
if ( includeContent ) {
content = new MultipleStreamableValue((StreamableValue) content);
}