@Override
	public void endElement(String uri, String localName, String qName)
			throws SAXException {
		switch(qName){
			case "title":
				pub.setTitle(content);
				break;
			case "year":
				pub.setYear(content);
				break;
			case "author":
				pubAuthors.add(content);
				break;
			case "editor":
				pubEditors.add(content);
				break;
			case "book":
				pub.setAuthors(pubAuthors);
				pubList.add(pub);
				break;
			case "incollection":
				pub.setAuthors(pubAuthors);
				pubList.add(pub);
				break;
		}
	}