code: public static AsyncWork<XMLDocument, Exception> create(XMLStreamEventsAsync stream) {
  		XMLDocument doc = new XMLDocument();
  		AsyncWork<XMLDocument, Exception> result = new AsyncWork<>();
  		create(doc, stream, result, new SynchronizationPoint<>(true));
  		return result;
  	}
docs: Create a document from a XMLStreamEvents.