@Override
	public void delete(IEmailKontakt emailKontakt) {
		JAXBContext context = null;
		try {
			context = JAXBContext.newInstance(EmailKontaktList.class);
			EmailKontaktList emailContacts = readContacts();
			for (int i = 0; i < emailContacts.getContactList().size(); i++) {
				if (emailContacts.getContactList().get(i).getId() == emailKontakt
						.getId())
					emailContacts.getContactList().remove(i);
			}

			Marshaller m = context.createMarshaller();
			m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);

			m.marshal(emailContacts, new File(EMAILCONTACTS_XML));

		} catch (JAXBException e) {
			e.printStackTrace();
		}

	}