return (ActivityStreamEntity)super.getEntity(data);
}
@Override
protected ArrayList<ActivityStreamEntity> createEntities() {
JsonDataHandler dataHandler = new JsonDataHandler(getData());
ArrayList<ActivityStreamEntity> activityStreams = new ArrayList<ActivityStreamEntity>();
List<JsonJavaObject> entries = dataHandler.getEntries(ASJsonPath.Entry);
for (JsonJavaObject entry: entries) {
ActivityStreamEntity activityStream = getEntity(entry);
activityStreams.add(activityStream);
}
return activityStreams;