Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thoughtworks.xstream.annotations
Class Annotations

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

Deprecated. since 1.3, use `XStream.processAnnotations(Class[])`

    @Deprecated
    public class Annotations

extends Object

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.

Author:
  Emil Kirschner, Chung-Onn Cheong, Guilherme Silveira, Jörg Schaible

Method Summary
`static void` | `configureAliases(XStream xstream, Class<?>... topLevelClasses)` Deprecated. since 1.3, use `XStream.processAnnotations(Class[])`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### configureAliases

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

  Deprecated. since 1.3, use `XStream.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:
    `topLevelClasses` - the class for which the XStream object is configured. This class is expected to be decorated with annotations defined in this package.
    `xstream` - the XStream object that will be configured

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 XStream. All Rights Reserved.