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