} else if (value instanceof BigDecimal) {
serializeAnyType("decimal", value.toString(), xmlStreamWriter);
} else if (value instanceof DataHandler) {
addTypeAttribute(xmlStreamWriter,"base64Binary");
MTOMAwareXMLStreamWriter mtomAwareXMLStreamWriter = (MTOMAwareXMLStreamWriter) xmlStreamWriter;
mtomAwareXMLStreamWriter.writeDataHandler((DataHandler)value);
} else if (value instanceof QName) {
QName qNameValue = (QName) value;
String prefix = xmlStreamWriter.getPrefix(qNameValue.getNamespaceURI());
if (prefix == null) {
prefix = BeanUtil.getUniquePrefix();