if (eEnclosures.size()>0) {
List enclosures = new ArrayList();
for (int i=0;i<eEnclosures.size();i++) {
e = (Element) eEnclosures.get(i);
Enclosure enclosure = new Enclosure();
String att = e.getAttributeValue("url");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK
if (att!=null) {
enclosure.setUrl(att);
}
att = e.getAttributeValue("length");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK
if (att!=null && att.length()>0) {
enclosure.setLength(Long.parseLong(att));
}
att = e.getAttributeValue("type");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK
if (att!=null) {
enclosure.setType(att);
}
enclosures.add(enclosure);
}
item.setEnclosures(enclosures);
}