public Representation createRepresentation(MediaType defaultMediaType, Map<String, Object> dataModel) {
Representation representation = Representation.createEmpty();
final Answer answer = (Answer) dataModel.get("answer");
if (answer != null) {
mediaType = defaultMediaType;
representation = answer.accept(this);
}
return representation;
}
public Representation visitAskAnswer(AskAnswer askAnswer) {