|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.converters.reflection.XStream12FieldKeySorter
public class XStream12FieldKeySorter
Sort the fields in the order of XStream 1.2.x. Fields are returned in their declaration order, fields of base classes last.
Constructor Summary | |
---|---|
XStream12FieldKeySorter()
|
Method Summary | |
---|---|
java.util.Map |
sort(java.lang.Class type,
java.util.Map keyedByFieldKey)
Sort the fields of a type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XStream12FieldKeySorter()
Method Detail |
---|
public java.util.Map sort(java.lang.Class type, java.util.Map keyedByFieldKey)
FieldKeySorter
sort
in interface FieldKeySorter
type
- the class that contains all the fieldskeyedByFieldKey
- a Map containing a FieldKey
as key element and a
Field
as value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |