Package FESI.Data

Examples of FESI.Data.ObjectPrototype


            return retval;
        }
        if (what instanceof Hashtable)
        {
            Hashtable t = (Hashtable) what;
            ESObject retval = new ObjectPrototype(
                    evaluator.getObjectPrototype(), evaluator);
            for (Enumeration e = t.keys(); e.hasMoreElements();)
            {
                String next = (String) e.nextElement();
                retval.putProperty(next, convertJ2E(t.get(next), evaluator),
                        next.hashCode());
            }
            return retval;
        }
View Full Code Here


            }
            return v;
        }
        if (what instanceof ObjectPrototype)
        {
            ObjectPrototype o = (ObjectPrototype) what;
            Hashtable t = new Hashtable();
            for (Enumeration e = o.getProperties(); e.hasMoreElements();)
            {
                String next = (String) e.nextElement();
                if (XmlRpc.debug)
                {
                    System.out.println("converting object member " + next);
                }
                Object nj = convertE2J(o.getProperty(next, next.hashCode()));
                if (nj != null)// can't put null as value in hashtable
                {
                    t.put(next, nj);
                }
            }
View Full Code Here

TOP

Related Classes of FESI.Data.ObjectPrototype

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.