marshaller.setProperty(javax.xml.bind.Marshaller.JAXB_FRAGMENT,
true);
boolean isEx = (output instanceof XMLStreamWriterEx);
if (mappingInfo != null) {
if (isParameterizedType) {
JAXBTypeElement jte = new JAXBTypeElement(
mappingInfo.getXmlTagName(), object,
(ParameterizedType) mappingInfo.getType());
if (isEx) {
marshaller.marshal(jte, new NewStreamWriterRecord(
(XMLStreamWriterEx) output), mappingInfo);