The XENON100 experiment, situated in the Laboratori Nazionali del Gran Sasso, aims at the direct detection of dark matter in the form of weakly interacting massive particles (WIMPs), based on their interactions with xenon nuclei in an ultra low background dual-phase time projection chamber. This paper describes the general methods developed for the analysis of the XENON100 data. These methods have been used in the 100.9 and 224.6 live days science runs from which results on spin-independent elastic, spin-dependent elastic and inelastic WIMP-nucleon cross-sections have already been reported.