Package org.apache.synapse.util

Examples of org.apache.synapse.util.SimpleMap


        if (propertyOutputAdapter.adaptOutput(description, result, context, messageInterceptor)) {
            return true;
        }
        if (result instanceof Map) {
            Map map = (Map) result;
            SimpleMap simplemap = new SimpleMapImpl();
            for (Object o : map.keySet()) {
                if (o == null || "".equals(o)) {
                    continue;
                }
                String key = (String) o;
                Object value = map.get(key);
                simplemap.put(key, value);
            }
            Object targetNode = ResourceDescriptionEvaluator.evaluateExpression(description,
                    context,
                    messageInterceptor);
            if (targetNode instanceof SOAPEnvelope) {
View Full Code Here


      return null;
    if (!el.getQName().equals(MAPELT)) {
      log.error("Wrong QName" + el.getQName());
      return null;
    }
    SimpleMap map = new SimpleMapImpl(el);
    return map;
  }
View Full Code Here

TOP

Related Classes of org.apache.synapse.util.SimpleMap

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.