public void compose(OutputStream stream, String rootName, Type type)  throws IOException {
		xml = new XMLWriter(stream, "UTF-8");
		xml.setPretty(style == OutputStyle.PRETTY);
		xml.start();
		xml.setDefaultNamespace(FHIR_NS);
		composeType(Utilities.noString(rootName) ? "value" : rootName, type);
		xml.end();
	}
public void compose ( OutputStream stream , String rootName , Type type ) throws IOException { xml = new XMLWriter ( stream , "UTF-8" ) ; xml . setPretty ( style == OutputStyle . PRETTY ) ; xml . start ( ) ; xml . setDefaultNamespace ( FHIR_NS ) ; composeType ( Utilities . noString ( rootName ) ? "value" : rootName , type ) ; xml . end ( ) ; }
Compose a type to a stream (used in the spec, for example, but not normally in production)
@