while (entryIterator.hasNext()) {
Map.Entry<SecurityHeaderOrder, Deque<XMLSecEvent>> entry = entryIterator.next();
Deque<XMLSecEvent> xmlSecEvents = entry.getValue();
while (!xmlSecEvents.isEmpty()) {
XMLSecEvent event = xmlSecEvents.pop();
subOutputProcessorChain.reset();
subOutputProcessorChain.processEvent(event);
}
}
}
outputProcessorChain.removeProcessor(this);