@Override
	public void startElement(String uri, String localName, String qName,
			org.xml.sax.Attributes attributes) throws SAXException {
		tag = Tags.fromString(qName);
		if (tag == null) {
			return;
		}

		switch (tag) {
		case MESSAGE:
			String tmp = attributes.getValue("id").trim();
			int bid = Integer.parseInt(tmp);
			message = new Message(bid);
			tag = null;
			break;
		default:
		}
	}