added xml writer to java doc

I barely know what I'm saying
Merge branch 'master' of https://github.com/vmathur/mchacks