writeObject(u, source, new JAXBElement(elName, cls, mObj));
}
} else if (byte[].class == cls
&& part.getTypeQName() != null
&& part.getTypeQName().getLocalPart().equals("hexBinary")) {
mObj = new HexBinaryAdapter().marshal((byte[])mObj);
writeObject(u, source, new JAXBElement(elName, String.class, mObj));
} else if (mObj instanceof JAXBElement) {
writeObject(u, source, mObj);
} else {
writeObject(u, source, new JAXBElement(elName, cls, mObj));