This link provides three ways of protecting an application against the mains voltage.
http://www.vishay.com/docs/28153/anaccaps.pdf
Can anyone tell me what the waveform at the other side of the X Class capacitor would be?

Obviously, the voltage between the two points (A-B) would depend on the capacitor value. But if I say the capacitor is 1 uF rated for 230 V what would be the waveform at A-B and how does one arrive at that? How is this exactly useful for voltage protection?
NB: I am not trying/experimenting in this, I am asking this to understand the idea of protecting an equipment. Some input on the other method (series capacitor with resistor) would be useful too.
"Almost" Good Answers: