Examples of PropertiesParam


Examples of org.exoplatform.container.xml.PropertiesParam

   {
      objectsToCreate = new HashMap<String, Attributes>();
      Iterator<?> i = params.getPropertiesParamIterator();
      while (i.hasNext())
      {
         PropertiesParam param = (PropertiesParam)i.next();
         Map<String, String> prop = param.getProperties();
         BasicAttributes attrs = new BasicAttributes();
         Iterator<?> entries = prop.entrySet().iterator();
         while (entries.hasNext())
         {
            Map.Entry entry = (Map.Entry)entries.next();
            String key = (String)entry.getKey();
            String value = (String)entry.getValue();
            Attribute attr = attrs.get(key);
            if (attr == null)
               attrs.put(new BasicAttribute(key, value));
            else
               attr.add(value);
         }
         objectsToCreate.put(param.getName(), attrs);
      }
   }
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.