Package org.apache.savan.configuration

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

Related Classes of org.apache.savan.configuration.MappingRules

Copyright © 2018 www.massapicom. 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.