for (Iterator it = mChildren.iterator(); it.hasNext(); ) { Element elt = (Element) it.next();
for (Element elt : mChildren)
        public List<Element> listElements(String name) {            if (mChildren == null)                return Collections.emptyList();            ArrayList<Element> list = new ArrayList<Element>();            if (name == null || name.trim().equals(""))                list.addAll(mChildren);            else                for (Iterator it = mChildren.iterator(); it.hasNext(); ) {                    Element elt = (Element) it.next();                    if (elt.getName().equals(name))                        list.add(elt);                }            return list;        }