Examples of MappingRules


Examples of org.apache.savan.configuration.MappingRules

     *
     * @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);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.