Package com.thoughtworks.xstream.core.util

Examples of com.thoughtworks.xstream.core.util.OrderRetainingMap


            try {
                beanInfo = Introspector.getBeanInfo(type, Object.class);
            } catch (IntrospectionException e) {
                throw new ObjectAccessException("Cannot get BeanInfo of type " + type.getName(), e);
            }
            nameMap = new OrderRetainingMap();
            propertyNameCache.put(type, nameMap);
            PropertyDescriptor[] propertyDescriptors = beanInfo.getPropertyDescriptors();
            for (int i = 0; i < propertyDescriptors.length; i++) {
                PropertyDescriptor descriptor = propertyDescriptors[i];
                nameMap.put(descriptor.getName(), descriptor);
View Full Code Here


        beanInfo = Introspector.getBeanInfo(type, Object.class);
      } catch (IntrospectionException e) {
        throw new ObjectAccessException("Cannot get BeanInfo of type "
            + type.getName(), e);
      }
      nameMap = new OrderRetainingMap();
      propertyNameCache.put(type, nameMap);
      PropertyDescriptor[] propertyDescriptors = beanInfo
          .getPropertyDescriptors();
      for (int i = 0; i < propertyDescriptors.length; i++) {
        PropertyDescriptor descriptor = propertyDescriptors[i];
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.core.util.OrderRetainingMap

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.