String description = null;
/* Interpret Attributes */
List<?> attributes = outline.getAttributes();
for (Iterator<?> iter = attributes.iterator(); iter.hasNext();) {
Attribute attribute = (Attribute) iter.next();
String name = attribute.getName();
/* Link */
if (name.toLowerCase().equals(Attributes.XML_URL.get().toLowerCase()))
link = attribute.getValue();
/* Title */
else if (name.toLowerCase().equals(Attributes.TITLE.get()))
title = attribute.getValue();
/* Text */
else if (title == null && name.toLowerCase().equals(Attributes.TEXT.get()))
title = attribute.getValue();
/* Homepage */
else if (name.toLowerCase().equals(Attributes.HTML_URL.get().toLowerCase()))
homepage = attribute.getValue();
/* Description */
else if (name.toLowerCase().equals(Attributes.DESCRIPTION.get()))
description = attribute.getValue();
}
/* RSSOwl Namespace Attributes */
Attribute idAttribute = outline.getAttribute(Attributes.ID.get(), RSSOWL_NS);
if (idAttribute != null)
id = Long.valueOf(idAttribute.getValue());
boolean isSet = Boolean.parseBoolean(outline.getAttributeValue(Attributes.IS_SET.get(), RSSOWL_NS));
/* Outline is a Folder */
if (link == null && title != null) {