public void serialize(QName name, Attributes attributes,
Object value, SerializationContext context)
throws IOException
{
if (value != null) {
DataHandler dh = new DataHandler(new MimeMultipartDataSource("Multipart", (MimeMultipart) value));
super.serialize(name, attributes, dh, context);
}
} // serialize