Enumeration keys=properties.keys(); while (keys.hasMoreElements()) { String key = (String) keys.nextElement(); String value=(String) properties.get(key); sfReplaceAttribute(key,value);
if ((owner!=null)&&(properties !=null)) { Enumeration keys = properties.keys(); while (keys.hasMoreElements()) { String key = (String) keys.nextElement(); if (key != null) { String value = (String) properties.get(key); if (value!=null) { owner.sfReplaceAttribute(key, value); } } }
    public void setStaticProperties(Hashtable properties) throws SmartFrogRuntimeException, RemoteException {        Enumeration keys=properties.keys();        while (keys.hasMoreElements()) {            String key = (String) keys.nextElement();            String value=(String) properties.get(key);            sfReplaceAttribute(key,value);        }    }