private void loadBookmarks(Document doc) { Element head = DOMUtil.getChild(doc.getDocumentElement(), "head"); if (head != null) { Element bookmarks = DOMUtil.getChild(head, "bookmarks"); if (bookmarks != null) { List l = DOMUtil.getChildren(bookmarks, "bookmark"); if (l != null) { for (Iterator i = l.iterator(); i.hasNext();) { Element e = (Element) i.next(); loadBookmark(null, e); } } } } }
private void loadBookmarks(Document doc) { Element head = DOMUtil.getChild(doc.getDocumentElement(), "head"); if (head != null) { Element bookmarks = DOMUtil.getChild(head, "bookmarks"); if (bookmarks != null) { List l = DOMUtil.getChildren(bookmarks, "bookmark"); if (l != null) { for (Iterator i = l.iterator(); i.hasNext(); ) { Element e = (Element)i.next(); loadBookmark(null, e); } } } } }
private void loadBookmarks(Document doc) { Element head = DOMUtil.getChild(doc.getDocumentElement(), "head"); if (head != null) { Element bookmarks = DOMUtil.getChild(head, "bookmarks"); if (bookmarks != null) { List l = DOMUtil.getChildren(bookmarks, "bookmark"); if (l != null) { for (Iterator i = l.iterator(); i.hasNext();) { Element e = (Element) i.next(); loadBookmark(null, e); } } } } }
private void loadBookmarks(Document doc) { Element head = DOMUtil.getChild(doc.getDocumentElement(), "head"); if (head != null) { Element bookmarks = DOMUtil.getChild(head, "bookmarks"); if (bookmarks != null) { List l = DOMUtil.getChildren(bookmarks, "bookmark"); if (l != null) { for (Iterator i = l.iterator(); i.hasNext();) { Element e = (Element) i.next(); loadBookmark(null, e); } } } } }
private void loadBookmarks(Document doc) { Element head = DOMUtil.getChild(doc.getDocumentElement(), "head"); if (head != null) { Element bookmarks = DOMUtil.getChild(head, "bookmarks"); if (bookmarks != null) { List l = DOMUtil.getChildren(bookmarks, "bookmark"); if (l != null) { for (Iterator i = l.iterator(); i.hasNext(); ) { Element e = (Element)i.next(); loadBookmark(null, e); } } } } }