|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thoughtworks.xstream.annotations.Annotations
public class Annotations
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.
| Method Summary | |
|---|---|
static void |
configureAliases(XStream xstream,
java.lang.Class<?>... topLevelClasses)
Configures aliases on the specified XStream object based on annotations that decorate the specified class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void configureAliases(XStream xstream,
java.lang.Class<?>... topLevelClasses)
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||