protected List parseCategories(List eCats) { List cats = null; if (eCats.size()>0) { cats = new ArrayList(); for (int i=0;i<eCats.size();i++) { Category cat = new Category(); Element e = (Element) eCats.get(i); String att = e.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cat.setDomain(att); } cat.setValue(e.getText()); cats.add(cat); } } return cats; }
protected List parseCategories(List eCats) { List cats = null; if (eCats.size()>0) { cats = new ArrayList(); for (int i=0;i<eCats.size();i++) { Category cat = new Category(); Element e = (Element) eCats.get(i); String att = e.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cat.setDomain(att); } cat.setValue(e.getText()); cats.add(cat); } } return cats; }
protected List createRSSCategories(List sCats) { List cats = new ArrayList(); for (int i=0;i<sCats.size();i++) { SyndCategory sCat = (SyndCategory) sCats.get(i); Category cat = new Category(); cat.setDomain(sCat.getTaxonomyUri()); cat.setValue(sCat.getName()); cats.add(cat); } return cats; }
protected List createRSSCategories(List sCats) { List cats = new ArrayList(); for (int i=0;i<sCats.size();i++) { SyndCategory sCat = (SyndCategory) sCats.get(i); Category cat = new Category(); cat.setDomain(sCat.getTaxonomyUri()); cat.setValue(sCat.getName()); cats.add(cat); } return cats; }
protected List createRSSCategories(List sCats) { List cats = new ArrayList(); for (int i=0;i<sCats.size();i++) { SyndCategory sCat = (SyndCategory) sCats.get(i); Category cat = new Category(); cat.setDomain(sCat.getTaxonomyUri()); cat.setValue(sCat.getName()); cats.add(cat); } return cats; }
protected List parseCategories(List eCats) { List cats = null; if (eCats.size()>0) { cats = new ArrayList(); for (int i=0;i<eCats.size();i++) { Category cat = new Category(); Element e = (Element) eCats.get(i); String att = e.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att!=null) { cat.setDomain(att); } cat.setValue(e.getText()); cats.add(cat); } } return cats; }
protected List createRSSCategories(List sCats) { List cats = new ArrayList(); for (Object sCat1 : sCats) { SyndCategory sCat = (SyndCategory) sCat1; Category cat = new Category(); cat.setDomain(sCat.getTaxonomyUri()); cat.setValue(sCat.getName()); cats.add(cat); } return cats; }
protected List parseCategories(List eCats) { List cats = null; if (eCats.size()>0) { cats = new ArrayList(); for (Object eCat : eCats) { Category cat = new Category(); Element e = (Element) eCat; String att = e.getAttributeValue("domain");//getRSSNamespace()); DONT KNOW WHY DOESN'T WORK if (att != null) { cat.setDomain(att); } cat.setValue(e.getText()); cats.add(cat); } } return cats; }