Top Description Methods
com.thoughtworks.xstream.annotations

public @Interface XStreamAlias

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE, FIELD
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

Annotation used to define an XStream class or field alias.
Authors
Emil Kirschner, Chung-Onn Cheong
See Also
com.thoughtworks.xstream.XStream#alias(String, Class), com.thoughtworks.xstream.XStream#alias(String, Class, Class), com.thoughtworks.xstream.XStream#addDefaultImplementation(Class, Class)

Method Summary

Modifier and TypeMethod and Description
public Class<?>
impl()

A possible default implementation if the annotated type is an interface.

public String
value()

The name of the class or field alias.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

implback to summary
public Class<?> impl()

A possible default implementation if the annotated type is an interface.

valueback to summary
public String value()

The name of the class or field alias.