code: public void compose(OutputStream stream, Resource resource, boolean htmlPretty)  throws IOException {
  		XMLWriter writer = new XMLWriter(stream, "UTF-8");
  		writer.setPretty(style == OutputStyle.PRETTY);
  		writer.start();
  		compose(writer, resource, htmlPretty);
  		writer.end();
  	}
docs: Compose a resource to a stream, possibly using pretty presentation for a human reader, and maybe a different choice in the xhtml narrative (used in the spec in one place, but should not be used in production)
  @