public void characters(char ch[], int start, int length)
			throws SAXException {

		switch (currentElement) {
		//extracts title of book
		case TITLE:
			currentBook.setTitle(new String(ch, start, length));
			System.out.println(new String(ch, start, length) + " :: " + currentBook.getTitle());
			
			break;
		//extracts filename
		case FILENAME:
			currentBook.setFileName(new String(ch, start, length));
			System.out.println(new String(ch, start, length));
			break;
		//extract icon filename		
		case ICON:
			currentBook.setButtonIcon(new String(ch, start, length));
			System.out.println(new String(ch, start, length)); 
			break;
		default:
			break;
		}
	}