@Override
	public void endElement(String uri, String localName, String qualifiedName)
			throws SAXException {
		if (localName.equals("mode")) {
			for (MessageMode m : MessageMode.values()) {
				if (m.toString().equalsIgnoreCase(currentValue)) {
					info.setMessageMode(m);
					break;
				}
			}
		} else if (localName.equals("subject")) {
			info.setSubject(currentValue);
		} else if (localName.equals("accessible")) {
			currentArea = null;
		} else if (localName.equals("inaccessible")) {
			currentArea = null;
		} else if (localName.equals("entity")) {
			handleEntityEnd();
		}

	}