It is neither. The way a crane works is with a winch or a drum that will roll the cables in and out Of course the winch has to be powered, it can be hydraulic, electric, diesel , V-8, or the old Egyptian way with block and tackle. If the system is powered with a hydraulic motor it still does not make it a hydraulic machine by definition
cranes are usually a system of cables and pulleys.