XmlWriter -> java