} else if (qName.equals("homenumber")) { homeNumber = chars; } else if (qName.equals("mobilenumber")) { mobileNumber = chars; } else if (qName.equals("businessnumber")) { businessNumber = chars; } else if (qName.equals("othernumber")) { otherNumber = chars; } else if (qName.equals("standardnumber")) { standardNumber = chars;
} else if (qName.equals("number")) { if (type.equals("home")) { homeNumber = chars; } else if (type.equals("mobile")) { mobileNumber = chars; } else if (type.equals("business")) { businessNumber = chars; } else if (type.equals("other")) { otherNumber = chars; }
	public void endElement(String namespaceURI, String sName, String qName)			throws SAXException {		if (qName.equals("firstname")) {			firstName = chars;		} else if (qName.equals("middlename")) {			middleName = chars;		} else if (qName.equals("lastname")) {			lastName = chars;		} else if (qName.equals("homenumber")) {			homeNumber = chars;		} else if (qName.equals("mobilenumber")) {			mobileNumber = chars;		} else if (qName.equals("businessnumber")) {			businessNumber = chars;		} else if (qName.equals("othernumber")) {			otherNumber = chars;		} else if (qName.equals("standardnumber")) {			standardNumber = chars;		} else if (qName.equals("street")) {			street = chars;		} else if (qName.equals("postcode")) {			postCode = chars;		} else if (qName.equals("city")) {			city = chars;		} else if (qName.equals("email")) {			email = chars;		} else if (qName.equals("cytegory")) {			category = chars;		} else if (qName.equals("entry")) {						Person newPerson = new Person(firstName,middleName,lastName,					street,postCode, city,					homeNumber, mobileNumber,					businessNumber, otherNumber, standardNumber,					email, category);			if (phonebook != null) { // Add an entry to the callerlist				phonebook.addEntry(newPerson);			}		}	}