/** * Registers the field order to use for a specific type. This will not affect any of the type's super or sub * classes. If you skip a field which will be serialized, XStream will thrown a {@link ConversionException} during * the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(final Class type, final String[] fields) { map.put(type, new FieldComparator(type, fields)); }
/** * Registers the field order to use for a specific type. This will not affect any of the type's super or sub * classes. If you skip a field which will be serialized, XStream will thrown a {@link ConversionException} during * the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(final Class<?> type, final String[] fields) { map.put(type, new FieldComparator(type, fields)); }
/** * Registers the field order to use for a specific type. This will not affect any of the type's super or sub * classes. If you skip a field which will be serialized, XStream will thrown a {@link ConversionException} during * the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(final Class type, final String[] fields) { map.put(type, new FieldComparator(type, fields)); }
/** * Registers the field order to use for a specific type. This will not * affect any of the type's super or sub classes. If you skip a field which * will be serialized, XStream will thrown an StreamException during the * serialization process. * * @param type * the type * @param fields * the field order */ public void registerFieldOrder(Class type, String[] fields) { map.put(type, new FieldComparator(fields)); }
/** * Registers the field order to use for a specific type. This will not affect any of the type's super or sub * classes. If you skip a field which will be serialized, XStream will thrown a {@link ConversionException} during * the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(final Class type, final String[] fields) { map.put(type, new FieldComparator(type, fields)); }
/** * Registers the field order to use for a specific type. This will not * affect any of the type's super or sub classes. If you skip a field which * will be serialized, XStream will thrown an StreamException during the * serialization process. * * @param type * the type * @param fields * the field order */ public void registerFieldOrder(Class type, String[] fields) { map.put(type, new FieldComparator(fields)); }
/** * Registers the field order to use for a specific type. This will not affect any of the * type's super or sub classes. If you skip a field which will be serialized, XStream will * thrown an StreamException during the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(Class type, String[] fields) { map.put(type, new FieldComparator(fields)); }
/** * Registers the field order to use for a specific type. This will not affect any of the * type's super or sub classes. If you skip a field which will be serialized, XStream will * thrown an StreamException during the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(Class type, String[] fields) { map.put(type, new FieldComparator(fields)); }
/** * Registers the field order to use for a specific type. This will not affect any of the type's super or sub * classes. If you skip a field which will be serialized, XStream will thrown a {@link ConversionException} during * the serialization process. * * @param type the type * @param fields the field order */ public void registerFieldOrder(final Class type, final String[] fields) { map.put(type, new FieldComparator(type, fields)); }