while(headerHandlerEntryIterator.hasNext())
{
final Map.Entry entry = (Map.Entry)headerHandlerEntryIterator.next() ;
final QName headerHandlerName = (QName)entry.getKey() ;
final HeaderHandler headerHandler = (HeaderHandler)entry.getValue() ;
headerHandler.writeContent(streamWriter, headerHandlerName, messageContext, soapDetails) ;
}
}
StreamHelper.writeEndElement(streamWriter, headerName.getPrefix(), headerNamespace) ;
}