GO:0008171:   O-methyltransferase activity
Catalysis of the transfer of a methyl group to the oxygen atom of an acceptor molecule.