org.springframework.beans
Class ExtendedBeanInfo.PropertyDescriptorComparator

java.lang.Object
  extended by org.springframework.beans.ExtendedBeanInfo.PropertyDescriptorComparator
All Implemented Interfaces:
java.util.Comparator<java.beans.PropertyDescriptor>
Enclosing class:
ExtendedBeanInfo

static class ExtendedBeanInfo.PropertyDescriptorComparator
extends java.lang.Object
implements java.util.Comparator<java.beans.PropertyDescriptor>

Sorts PropertyDescriptor instances alphanumerically to emulate the behavior of BeanInfo.getPropertyDescriptors().

See Also:
ExtendedBeanInfo.propertyDescriptors

Constructor Summary
ExtendedBeanInfo.PropertyDescriptorComparator()
           
 
Method Summary
 int compare(java.beans.PropertyDescriptor desc1, java.beans.PropertyDescriptor desc2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ExtendedBeanInfo.PropertyDescriptorComparator

ExtendedBeanInfo.PropertyDescriptorComparator()
Method Detail

compare

public int compare(java.beans.PropertyDescriptor desc1,
                   java.beans.PropertyDescriptor desc2)
Specified by:
compare in interface java.util.Comparator<java.beans.PropertyDescriptor>