IdentityAdapter idAdapter = context.newIdentityAdapter();
ErosEmailFinder emailFinder = new ErosEmailFinder(context, idAdapter);
String sTarget = query.getResponseTarget();
RecordSnippetWriter.Target target = RecordSnippetWriter.Target.checkValueOf(sTarget);
AtomFeedWriter atomWriter = new ErosAtomFeedWriter(emailFinder, resourceIdentifier, printWriter);
atomWriter.setEntryBaseUrl(query.getRssProviderUrl());
atomWriter.set_messageBroker(messageBroker);
atomWriter.setTarget(target);
return atomWriter;
}
return super.makeFeedWriter(request, context, printWriter, messageBroker, query);
}