// System.out.println("======== " + output.getPrefix(typeInfo.tagName.getNamespaceURI()));
// System.out.println("======== " + output.getNamespaceContext().getPrefix(typeInfo.tagName.getNamespaceURI()));
// System.out.println("======== " + output.getNamespaceContext().getNamespaceURI(""));
} catch (XMLStreamException e) {
e.printStackTrace();
throw new DatabindingException(e);
}
if (w.bridges != null) for (int i = 0; i < w.bridges.length; i++) {
if (w.bridges[i] instanceof RepeatedElementBridge) {
RepeatedElementBridge rbridge = (RepeatedElementBridge) w.bridges[i];
for (Iterator itr = rbridge.collectionHandler().iterator(w.values[i]); itr.hasNext();) {
rbridge.marshal(itr.next(), output, am);
}
} else {
w.bridges[i].marshal(w.values[i], output, am);
}
}
try {
output.writeEndElement();
} catch (XMLStreamException e) {
throw new DatabindingException(e);
}
}