XmlEvent createAndAddXmlEvent(XmlState state) { XmlEvent event = _createXmlEvent(state); _controller.add(event); event.fired = true; return event; }