Add XmlReader to javaexample