* Object)
*/
@Override
public Object[] getChildren(Object parentElement) {
if (parentElement instanceof Root) {
Root root = (Root) parentElement;
return root.getFeeds().toArray();
} else if (parentElement instanceof Feed) {
Feed feed = (Feed) parentElement;
return feed.getEntries().toArray();
} else {
return new Object[0];