} @Override public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException { if( localName.equalsIgnoreCase("post") ) { HashMap<String, String> curBookmark = new HashMap<String, String>(); curBookmark.put("href", attributes.getValue("href")); curBookmark.put("description", attributes.getValue("description")); curBookmark.put("hash", attributes.getValue("hash")); curBookmark.put("tag", attributes.getValue("tag")); curBookmark.put("time", attributes.getValue("time")); this.bookmarks.add(curBookmark); } } }