private Node createNoteElement(Document doc, Note note) {
//		 Start the creation of the transition.
		Element ne = createElement(doc, NOTE_NAME, null, null);
		// Encode the from state.
		ne.appendChild(createElement(doc, NOTE_TEXT_NAME, null, ""
				+ note.getText()));
		// Encode the to state.
		ne.appendChild(createElement(doc, STATE_X_COORD_NAME, null, ""
				+ note.getLocation().getX()));
		ne.appendChild(createElement(doc, STATE_Y_COORD_NAME, null, ""
				+ note.getLocation().getY()));
		// Return the completed note encoding element.
		return ne;
	}