Be nice to keep javadocs on both methods. Also is there a reason for making init return void and not return XMLWriter?