Javadocs for XmlGenerator
Added XmlGenerator.toByteArray()