*
* @param element
* @param protocol
*/
private void processMappingRules(OMElement element, Protocol protocol) {
MappingRules mappingRules = null;
Iterator actionsIterator = null;
mappingRules = protocol.getMappingRules();
actionsIterator = element.getChildrenWithName(new QName(ACTION));
while (actionsIterator.hasNext()) {
OMElement actionElement = null;
String action = null;
actionElement = (OMElement) actionsIterator.next();
action = actionElement.getText();
mappingRules.addRule(MappingRules.MAPPING_TYPE_ACTION, action);
}
}