9596979899100101102103104105
final String rootElement = getRootElementName(elementType); try { xsw.writeStartDocument(); xsw.writeStartElement(rootElement); for (Object o : t) m.marshal(o, xsw); xsw.writeEndElement(); xsw.writeEndDocument(); xsw.flush();
8687888990919293949596