public void startElement(String uri, String localName, String qName, Attributes attributes) throws FileFormatException {
			if(qName.equals("bmonitor")) {
				// ignore
			}
			else if(qName.equals("monitor")) {
				String val = attributes.getValue("port");
				if(val == null) {
					throw new FileFormatException("port must be specified", locator.getLineNumber(), locator.getColumnNumber());
				}
				int port = 0;
				int x = 0;
				int y = 0;
				int w = 200;
				int h = 200;
				try {
					port = Integer.parseInt(val);
					val = attributes.getValue("x");
					if(val != null) x = Integer.parseInt(val);
					val = attributes.getValue("y");
					if(val != null) y = Integer.parseInt(val);
					val = attributes.getValue("width");
					if(val != null) w = Integer.parseInt(val);
					val = attributes.getValue("height");
					if(val != null) h = Integer.parseInt(val);
				} catch(NumberFormatException e) {
					throw new FileFormatException("expected a number, got something that wasn't a number",locator.getLineNumber(), locator.getColumnNumber());
				}
				String temp = "BMonitor - ";
				String name = attributes.getValue("name");
				if(name != null) temp += name;		
				temp += " - Port: " + Integer.toString(port);
			    monitors.add(new NetworkStreamMonitorConfig(port, temp, x, y, w, h));
			}
			else {
				logger.warning("unrecognised entity: " + qName);
			}
		}