public void endElement(String uri, String localName, String qName)
			throws SAXException {
		// sort out element name if (no) namespace in use
		String elementName = localName;
		if ("".equals(elementName)) {
			elementName = qName;
		}
		if (elementName.equals("book")) {
			bookList.addBook(currentBook);
		} else if(elementName.equals("title")){
			currentElement = ProcessingElement.NONE;
		} else if (elementName.equals("filename")) {
			currentElement = ProcessingElement.NONE;
		} else if (elementName.equals("icon")){
			currentElement = ProcessingElement.NONE;
		}

		System.out.println("\tFound the end of an element (" + elementName
				+ ") ...");
	}