public class NativePropertySorter extends java.lang.Object implements PropertySorter
Constructor and Description |
---|
NativePropertySorter() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
sort(java.lang.Class type,
java.util.Map nameMap)
Sort the properties of a bean type.
|
public java.util.Map sort(java.lang.Class type, java.util.Map nameMap)
PropertySorter
sort
in interface PropertySorter
type
- the bean class that contains all the propertiesnameMap
- the map to sort, key is the property name, value the
PropertyDescriptor
Copyright © 2004–2024 XStream. All rights reserved.