public class

Annotations

extends Object
java.lang.Object
   ↳ com.thoughtworks.xstream.annotations.Annotations

This class is deprecated.
since 1.3, use processAnnotations(Class[])

Class Overview

Contains utility methods that enable to configure an XStream instance with class and field aliases, based on a class decorated with annotations defined in this package.

Summary

Public Methods
synchronized static void configureAliases(XStream xstream, Class...<?> topLevelClasses)
This method is deprecated. since 1.3, use processAnnotations(Class[])
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static synchronized void configureAliases (XStream xstream, Class...<?> topLevelClasses)

This method is deprecated.
since 1.3, use processAnnotations(Class[])

Configures aliases on the specified XStream object based on annotations that decorate the specified class. It will recursively invoke itself. If a field is parameterized, a recursive call for each of its parameters type will be made.

Parameters
xstream the XStream object that will be configured
topLevelClasses the class for which the XStream object is configured. This class is expected to be decorated with annotations defined in this package.