private void writeContact(Contact contact)
		//
		// Extract and write to file a contact
		{
			String[] xmlTag;
			String content,line;
			int index = 0;
			for(int i = 0; i <= 4; i++)
			{
				switch(index){
					case 0:	// <contact>
						xmlTag = XML_FORMAT.getContact();
						writeln(xmlTag[0]);
						index++;
					case 1: // <id></id>
						xmlTag = XML_FORMAT.getId();
						content = String.valueOf(contact.getId());
						line = lineMaker(xmlTag[0], content, xmlTag[1]);
						writeln(line); // <id>9</id>
						index++;
					case 2: // <name></name>
						xmlTag = XML_FORMAT.getName();
						content = contact.getName();
						line = lineMaker(xmlTag[0], content, xmlTag[1]);
						writeln(line); // <name>Siddharta Gautama</name>
						index++;
					case 3: // <note></note>
						if(contact.getNotes() != null || !contact.getNotes().contentEquals(""))
						{
							xmlTag = XML_FORMAT.getNote();
							content = contact.getNotes();
							line = lineMaker(xmlTag[0], content, xmlTag[1]);
							writeln(line); // <note>Nice guy!</note>
						}
						index++;
					case 4: // </contact>
						xmlTag = XML_FORMAT.getContact();
						writeln(xmlTag[1]); 
						index++;
					default:
						break;
				} // Closes Switch() //
			} // Closes for() // 
		} // Closes writeContact() //