code: public static void writePharmacophoreDefinition(List<PharmacophoreQuery> queries, OutputStream out)
              throws IOException {
          writePharmacophoreDefinition(queries.toArray(new PharmacophoreQuery[]{}), out);
      }
docs: Write out one or more pharmacophore queries in the CDK XML format.
  
  @param queries The pharmacophore queries
  @param out     The OutputStream to write to
  @throws IOException if there is a problem writing the XML document