code: public static void write(@Nonnull final Data data, @Nonnull final OutputStream outputStream) throws IOException {
  		Check.notNull(data, "data");
  		Check.notNull(outputStream, "outputStream");
  
  		final StringBuilder doc = new StringBuilder(10000);
  
  		// description element
  		createDescription(data, doc);
  
  		// data
  		createRobots(data, doc);
  		createOperatingSystems(data, doc);
  		createBrowsers(data, doc);
  		createBrowserTypes(data, doc);
  		createBrowserPatterns(data, doc);
  		createBrowserOperatingSystemMappings(data, doc);
  		createOperatingSystemPatterns(data, doc);
  		createDevices(data, doc);
  		createDevicePatterns(data, doc);
  
  		// write the content to output stream
  		outputStream.write(doc.toString().getBytes("UTF-8"));
  	}
docs: Transforms a given {@code Data} instance into XML and writes it to the passed in {@code OutputStream}.
  
  @param data
  {@code Data} to transform into XML
  @param outputStream
  output stream to write
  @throws IOException
  if the given output stream can not be written